eclipse 运行web项目报错404

qq_34144387 2016-04-09 11:43:35
下面是部分日志 太多了没办法全发上来


四月 09, 2016 11:40:52 上午 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class org.jeecgframework.web.system.listener.OnlineListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'baseserviceimpl' defined in file [D:\apache-tomcat-7.0.67\webapps\iTraining\WEB-INF\classes\com\buss\base\baseserviceimpl.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.buss.base.baseserviceimpl]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems:
The import javax.servlet.http.HttpServletRequest cannot be resolved
The type baseserviceimpl must implement the inherited abstract method baseservice.export(Object, HttpServletRequest)
The type baseserviceimpl must implement the inherited abstract method baseservice.getDatagrid1Template(DataGrid, HttpServletRequest, String)
The type baseserviceimpl must implement the inherited abstract method baseservice.getqrylist(DataGrid, HttpServletRequest, String)
HttpServletRequest cannot be resolved to a type
HttpServletRequest cannot be resolved to a type
HttpServletRequest cannot be resolved to a type
HttpServletRequest cannot be resolved to a type

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:997)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:943)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5077)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5591)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1574)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1564)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.buss.base.baseserviceimpl]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems:
The import javax.servlet.http.HttpServletRequest cannot be resolved
The type baseserviceimpl must implement the inherited abstract method baseservice.export(Object, HttpServletRequest)
The type baseserviceimpl must implement the inherited abstract method baseservice.getDatagrid1Template(DataGrid, HttpServletRequest, String)
The type baseserviceimpl must implement the inherited abstract method baseservice.getqrylist(DataGrid, HttpServletRequest, String)
HttpServletRequest cannot be resolved to a type
HttpServletRequest cannot be resolved to a type
HttpServletRequest cannot be resolved to a type
HttpServletRequest cannot be resolved to a type

at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:162)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:76)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:990)
... 22 more
Caused by: java.lang.Error: Unresolved compilation problems:
The import javax.servlet.http.HttpServletRequest cannot be resolved
The type baseserviceimpl must implement the inherited abstract method baseservice.export(Object, HttpServletRequest)
The type baseserviceimpl must implement the inherited abstract method baseservice.getDatagrid1Template(DataGrid, HttpServletRequest, String)
The type baseserviceimpl must implement the inherited abstract method baseservice.getqrylist(DataGrid, HttpServletRequest, String)
HttpServletRequest cannot be resolved to a type
HttpServletRequest cannot be resolved to a type
HttpServletRequest cannot be resolved to a type
HttpServletRequest cannot be resolved to a type

at com.buss.base.baseserviceimpl.<init>(baseserviceimpl.java:6)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
... 24 more

四月 09, 2016 11:40:52 上午 org.apache.catalina.core.StandardContext startInternal
严重: One or more listeners failed to start. Full details will be found in the appropriate container log file
四月 09, 2016 11:40:52 上午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/iTraining] startup failed due to previous errors
四月 09, 2016 11:40:52 上午 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
四月 09, 2016 11:40:52 上午 org.apache.catalina.core.ApplicationContext log
信息: Shutting down log4j
四月 09, 2016 11:40:52 上午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
严重: The web application [/iTraining] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
四月 09, 2016 11:40:52 上午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
严重: The web application [/iTraining] registered the JDBC 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.
四月 09, 2016 11:40:52 上午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
严重: The web application [/iTraining] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak.
四月 09, 2016 11:40:52 上午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
严重: The web application [/iTraining] appears to have started a thread named [net.sf.ehcache.CacheManager@4741c679] but has failed to stop it. This is very likely to create a memory leak.
四月 09, 2016 11:40:52 上午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
严重: The web application [/iTraining] appears to have started a thread named [Replication Thread] but has failed to stop it. This is very likely to create a memory leak.
四月 09, 2016 11:40:52 上午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
严重: The web application [/iTraining] appears to have started a thread named [Replication Thread] but has failed to stop it. This is very likely to create a memory leak.
四月 09, 2016 11:40:52 上午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
严重: The web application [/iTraining] appears to have started a thread named [dictCache.data] but has failed to stop it. This is very likely to create a memory leak.
四月 09, 2016 11:40:52 上午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
严重: The web application [/iTraining] appears to have started a thread named [eternalCache.data] but has failed to stop it. This is very likely to create a memory leak.
四月 09, 2016 11:40:52 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\apache-tomcat-7.0.67\webapps\docs
四月 09, 2016 11:40:52 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\apache-tomcat-7.0.67\webapps\docs has finished in 74 ms
四月 09, 2016 11:40:52 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\apache-tomcat-7.0.67\webapps\ROOT
四月 09, 2016 11:40:52 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\apache-tomcat-7.0.67\webapps\ROOT has finished in 55 ms
四月 09, 2016 11:40:52 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]
四月 09, 2016 11:40:52 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
四月 09, 2016 11:40:52 上午 org.apache.catalina.startup.Catalina start
信息: Server startup in 14828 ms
...全文
506 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
  • 打赏
  • 举报
回复
配置文件贴出了瞅瞅

58,452

社区成员

发帖
与我相关
我的任务
社区描述
Java Eclipse
社区管理员
  • Eclipse
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧