web services - error.java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver -


I am very new to the Java web server. I am creating a soap based webservice in Java which uses Apache axis 2-1.5.6. I have posted a service on the local machine. Now I want to get data from the database. Is there a way to do this as I have made a JDBC connection, but I am getting the following exception when creating a connection to the database ...

error.java.lang.ClassNotFoundException: com.microsoft .sqlserver .jdbc.SQLServerDriver

I have placed the sqljdbc.jar file in my web-INF but there is still a single error. Please provide me a suggestion of what is going wrong in my web service.

Connection, 'sqljdbc4' or 'sqljdbc' axis2 inside the Lib folder of the home folder.


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

lua - HowTo create a fuel bar -