2013年10月7日星期一

Cannot load JDBC driver class 'com.microsoft.jdbc.sqlserver.SQLServerDriver'

Item added a connection pool after why there Cannot load JDBC driver class 'com.microsoft.jdbc.sqlserver.SQLServerDriver' error
------ Solution - ------------------------------------------
check the jar package this com.microsoft.jdbc.sqlserver.SQLServerDriver path and whether the same ?
------ Solution ---------------------------------------- ----


in your class inside com.microsoft.jdbc.sqlserver.SQLServerDriver sentence if the package name can be automatically prompted to write out the back of the class , it is not your bag problem
----- - Solution --------------------------------------------
if the problem is not the lack of jar package jar package that is not placed in the path of the problem
lib folder should be placed inside or open the project in tomcat tomcat deploy the jar on the project's lib folder in short, to be placed in the lib
---- - Solution --------------------------------------------
If the jar does exist, but an error, you put jar copy to the web-inf under lib.
clean look tomact, re-publish it.
------ For reference only -------------------------------------- -
missing jar bag?
------ For reference only -------------------------------------- -
jar package should be the question
------ For reference only ---------------------------- -----------
missing database driver package ...
------ For reference only ----------------- ----------------------
my jar package is no problem
------ For mssqlserver.jar reference only ---------------------------------------
can automatically prompt the back of the class and those configurations are already equipped with a good
------ For reference only ------------------------- --------------
is in the lib folder inside
------ For reference only ------------- --------------------------
weak weak to ask, if the jar package right. Then connect to the database can only be connected when the system database is how is it ?
------ For reference only -------------------------------------- -
still will not die . . .
------ For reference only -------------------------------------- -
solve the problem because it is not the database driver package on the tomcat lib, but before I was to put it under the lib web-inf , so on the wrong
- ---- For reference only ---------------------------------------
may is your connection pool SQLSER the URL wrong, as follows:
I was wrong, and your error exactly the same, I do not know there is help not ....
------ For reference only ------------- --------------------------
e .....
I do not know already finished ah , Oh ....

没有评论:

发表评论