当前位置: 代码迷 >> 综合 >> java tomcat 数据问题比较好查,会有以下提示
  详细解决方案

java tomcat 数据问题比较好查,会有以下提示

热度:91   发布时间:2024-01-21 09:32:45.0

org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Unknown database 'datage')


Exception: java.lang.NoSuchMethodError: javax.servlet.ServletRequestEvent.getServletRequest()Ljavax/servlet/ServletRequest;



我把WEB-INF/lib下两个jar删掉,一个是javax.servlet另一哥jstl,页面出现了,但是仍然提示并且没有500错误,加入到原路径中出现500错误



2013-05-15 16:39:10,300 [http-8080-1] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/oddj]- Exception sending request initialized lifecycle event to listener instance of class idv.gsir.utils.listener.MyHttpSessionListener
java.lang.NoSuchMethodError: javax.servlet.ServletRequestEvent.getServletRequest()Ljavax/servlet/ServletRequest;
    at idv.gsir.utils.listener.MyHttpSessionListener.requestInitialized(MyHttpSessionListener.java:23)