When Tomcat is started, the following message is prompted. Please help me to see what the problem is?
Information: Installing Web
Application at context path/powerweb from URL File: D:/tomcat
5.0/webapps/powerweb
2006-6-19 17:21:02
Org. Apache. Catalina. loader. webappclassloader validatejarfile
Information:
Validatejarfile (D:/tomcat
5.0/webapps/powerweb/WEB-INF/lib/servlet-api.jar)-jar not loaded. See
Servlet spec 2.3, section 9.7.2. offending class:
Javax/servlet. Class
19/06/06 17:21:06. 984; error; cannot load
JDBC Driver Class 'com. Microsoft. JDBC. sqlserver. sqlserverdriver'
2006-6-19
17:21:11 org. Apache. Coyote. http11.http11protocol start
You
Tomcat installation directory D:/tomcat 5.0/common/lib below there is a servlet-api.jar
Tomcat will
Load this jar without loading the servlet-api.jar of an application
Therefore, this jar is ignored and can be removed.
////////////////
Com. Microsoft. JDBC. sqlserver. sqlserverdriver
This error is because the jar is not put in the classpath.
Just add it.
We recommend that you reinstall tomcat.
Once again, pay attention to the JDK version, which must be consistent with that used in eclipse in Tomcat.
In addition, the author's SQL
The JDBC driver does not seem to have been copied to the corresponding directory.
'Com. Microsoft. JDBC. sqlserver. sqlserverdriver'
Is that the database driver is not put under the Lib, not the servlet-api.jar
Your servlet environment variables are not configured.
In
The classpath in your system variables has no D:/tomcat 5.0/common/lib/servlet-api.jar
Or install
An error occurred.
You can check