I am trying to create an app in play framework using ms sql server and java and i am getting [ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver]
exception anyone please send me the link if u see a similar application .Just need to connect to database and fetch data
Asked
Active
Viewed 460 times
0

Sumeet Hiremath
- 67
- 9
-
1possible duplicate of [Classpath set, but: java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver](http://stackoverflow.com/questions/22253551/classpath-set-but-java-lang-classnotfoundexception-com-microsoft-sqlserver-jd) – Kenneth Clark Mar 12 '15 at 05:13
2 Answers
0
In build.sbt
paste the following code:
val appDependencies = Seq(
"sqljdbc4" % "com.microsoft.sqlserver.jdbc.SQLServerDriver"
)

andyroberts
- 3,458
- 2
- 37
- 40

Sumeet Hiremath
- 67
- 9
0
val appDependencies = Seq( "sqljdbc4" % "com.microsoft.sqlserver.jdbc.SQLServerDriver" )

Sumeet Hiremath
- 59
- 1
- 1
- 7