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

Editing Python Class in Shell and SQLAlchemy -

import - Python ImportError: No module named wmi -

uislider - In a MATLAB GUI, how does one implement a continuously varying slider from a GUIDE created .m file? -