严重: Error listenerStart
2013-4-8 17:33:37 org.apache.catalina.core.StandardContext start
严重: Context [/crm2] startup failed due to previous errors
2013-4-8 17:33:37 org.apache.catalina.loader.WebappClassLoader loadClass
信息: Illegal access: this web application instance has been stopped already. Could not load com.mysql.jdbc.ServerPreparedStatement$BindValue. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException在本地的运行是正常的,在服务器通过ant来发布java项目,报了如上的错误。 也不是重启项目的问题,麻烦各位大神看看,有没有比较好的方案解决这个问题TomcatJava服务器
2013-4-8 17:33:37 org.apache.catalina.core.StandardContext start
严重: Context [/crm2] startup failed due to previous errors
2013-4-8 17:33:37 org.apache.catalina.loader.WebappClassLoader loadClass
信息: Illegal access: this web application instance has been stopped already. Could not load com.mysql.jdbc.ServerPreparedStatement$BindValue. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException在本地的运行是正常的,在服务器通过ant来发布java项目,报了如上的错误。 也不是重启项目的问题,麻烦各位大神看看,有没有比较好的方案解决这个问题TomcatJava服务器
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5" id="services">
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext.xml</param-value>
</context-param> <listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener> <context-param>
<param-name>log4jConfigLocation</param-name>
<param-value>/WEB-INF/log4j.properties</param-value>
</context-param> <context-param>
<param-name>log4jRefreshInterval</param-name>
<param-value>1000</param-value>
</context-param> <listener>
<listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
</listener>
</web-app>
以上是我的web.xml的代码,麻烦指点一下,哪个监听有问题,能怎么改正