首页上一页 1 下一页尾页 1 条记录 1/1页
医药管理系统的问题,求解决
发表在JavaWeb图书答疑
2011-04-13
是否精华
是
否
版块置顶:
是
否
项目所需的JAR包都已正常导入
2011-4-13 20:33:56 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.20.
2011-4-13 20:33:56 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2011-4-13 20:33:58 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8059
2011-4-13 20:33:58 org.apache.coyote.ajp.AjpAprProtocol init
信息: Initializing Coyote AJP/1.3 on ajp-8009
2011-4-13 20:33:58 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 2097 ms
2011-4-13 20:33:58 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2011-4-13 20:33:58 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.29
2011-4-13 20:33:58 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2011-4-13 20:33:58 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2011-4-13 20:33:58 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2011-4-13 20:33:59 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2011-4-13 20:33:59 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2011-4-13 20:33:59 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2011-4-13 20:33:59 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory MedicineManager
2011-4-13 20:34:02 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter HibernateFilter
java.lang.Error: Unresolved compilation problem:
The method init(FilterConfig) of type HibernateFilter must override a superclass method
at com.lyq.util.HibernateFilter.init(HibernateFilter.java:48)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4001)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4651)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2011-4-13 20:34:02 org.apache.catalina.core.StandardContext start
严重: Error filterStart
2011-4-13 20:34:02 org.apache.catalina.core.StandardContext start
严重: Context [/MedicineManager] startup failed due to previous errors
2011-4-13 20:34:02 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/MedicineManager] registered the JBDC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2011-4-13 20:33:56 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.20.
2011-4-13 20:33:56 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2011-4-13 20:33:58 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8059
2011-4-13 20:33:58 org.apache.coyote.ajp.AjpAprProtocol init
信息: Initializing Coyote AJP/1.3 on ajp-8009
2011-4-13 20:33:58 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 2097 ms
2011-4-13 20:33:58 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2011-4-13 20:33:58 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.29
2011-4-13 20:33:58 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2011-4-13 20:33:58 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2011-4-13 20:33:58 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2011-4-13 20:33:59 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2011-4-13 20:33:59 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2011-4-13 20:33:59 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2011-4-13 20:33:59 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory MedicineManager
2011-4-13 20:34:02 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter HibernateFilter
java.lang.Error: Unresolved compilation problem:
The method init(FilterConfig) of type HibernateFilter must override a superclass method
at com.lyq.util.HibernateFilter.init(HibernateFilter.java:48)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4001)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4651)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2011-4-13 20:34:02 org.apache.catalina.core.StandardContext start
严重: Error filterStart
2011-4-13 20:34:02 org.apache.catalina.core.StandardContext start
严重: Context [/MedicineManager] startup failed due to previous errors
2011-4-13 20:34:02 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/MedicineManager] registered the JBDC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.