Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Could not load JDBC driver class ["com.microsoft.sqlserver.jdbc.SQLServerDriver";]

 
Dipakpsd Kumar
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have an web application in struts 1.3 which contain hibernate as ORM and spring as contextloaded AOP or as it is in general use.
I'm trying to deploy it in tomcat 6.0 server. earlier it was connected to mysql and it was working fine but now I want to connect it with MS Sql server 2008 so I downloaded "sqljdbc" and "sqljdbc4" jar and placed it into "C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\web1\WEB-INF\lib" location of my system. I have java 7 installed in my system.when I trying to run then its giving exception :


My jdbc property file entry is :



"ApplicationContext-Hibernate.xml" entry is :



Please help me to solve this problem, I Google a lot and tried many solutions but not get success yet, So any help would be much appreciated.

If you need any other/more information then please let me know.

Thanks,
-Dipak
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic