【JAVA】tomcat启动项目报错,求解

完全看不懂,求解

 警告: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [155] milliseconds.
十一月 21, 2018 4:29:44 下午 org.apache.catalina.core.StandardContext resourcesStart
严重: Error starting static Resources
java.lang.IllegalArgumentException: Document base C:\Users\user\jamie\eclipse-workspace-stbflsc\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\back-product-web does not exist or is not a readable directory
    at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:136)
    at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:5286)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5477)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1707)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1697)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)

十一月 21, 2018 4:29:44 下午 org.apache.catalina.core.ContainerBase startInternal
严重: A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/back-product-web2]]
    at java.util.concurrent.FutureTask.report(FutureTask.java:122)
    at java.util.concurrent.FutureTask.get(FutureTask.java:192)
    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1243)
    at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:819)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1707)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1697)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/back-product-web2]]
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)
    ... 6 more
Caused by: org.apache.catalina.LifecycleException: Error in resourceStart()
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5478)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
    ... 6 more

十一月 21, 2018 4:29:44 下午 org.apache.catalina.core.ContainerBase startInternal
严重: A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
    at java.util.concurrent.FutureTask.report(FutureTask.java:122)
    at java.util.concurrent.FutureTask.get(FutureTask.java:192)
    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1243)
    at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:300)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
    at org.apache.catalina.core.StandardService.startInternal(StandardService.java:444)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
    at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:758)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:710)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:428)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1707)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1697)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.catalina.LifecycleException: A child container failed during start
    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1254)
    at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:819)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
    ... 6 more
Caused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/back-product-web2]]
    at java.util.concurrent.FutureTask.report(FutureTask.java:122)
    at java.util.concurrent.FutureTask.get(FutureTask.java:192)
    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1243)
    ... 8 more
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/back-product-web2]]
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)
    ... 6 more
Caused by: org.apache.catalina.LifecycleException: Error in resourceStart()
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5478)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
    ... 6 more

十一月 21, 2018 4:29:44 下午 org.apache.catalina.startup.Catalina start
严重: The required Server component failed to start so Tomcat is unable to start.
org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:710)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:428)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)
    at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:758)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
    ... 7 more
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)
    at org.apache.catalina.core.StandardService.startInternal(StandardService.java:444)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
    ... 9 more
Caused by: org.apache.catalina.LifecycleException: A child container failed during start
    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1254)
    at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:300)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
    ... 11 more
Caused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
    at java.util.concurrent.FutureTask.report(FutureTask.java:122)
    at java.util.concurrent.FutureTask.get(FutureTask.java:192)
    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1243)
    ... 13 more
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1707)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1697)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.catalina.LifecycleException: A child container failed during start
    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1254)
    at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:819)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
    ... 6 more
Caused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/back-product-web2]]
    at java.util.concurrent.FutureTask.report(FutureTask.java:122)
    at java.util.concurrent.FutureTask.get(FutureTask.java:192)
    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1243)
    ... 8 more
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/back-product-web2]]
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)
    ... 6 more
Caused by: org.apache.catalina.LifecycleException: Error in resourceStart()
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5478)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
    ... 6 more

十一月 21, 2018 4:29:44 下午 org.apache.coyote.AbstractProtocol pause
信息: Pausing ProtocolHandler ["http-bio-8080"]
十一月 21, 2018 4:29:44 下午 org.apache.coyote.AbstractProtocol pause
信息: Pausing ProtocolHandler ["ajp-bio-8009"]
十一月 21, 2018 4:29:44 下午 org.apache.catalina.core.StandardService stopInternal
信息: Stopping service Catalina
十一月 21, 2018 4:29:44 下午 org.apache.coyote.AbstractProtocol destroy
信息: Destroying ProtocolHandler ["http-bio-8080"]
十一月 21, 2018 4:29:44 下午 org.apache.coyote.AbstractProtocol destroy
信息: Destroying ProtocolHandler ["ajp-bio-8009"]

5个回答

作者可以尝试一下操作:
1 将tomcat中的项目移除,启动一个空项目的tomcat,看看是否报错,如果报错,那可以重新下载一个tomcat,如果正常启动,那可以排除tomcat本身的问题。
2 项目本身问题,无非是xml配置问题和jar问题,将web.xm或pom文件 以及框架的配置文件慢慢考过去试下,如果没有问题,那可以先检查一下项目中的jar包是否有冲突或者报错,如果没有,那可以将jar包全部移除,然后添加一些启动一次tomcat,周而复始,慢慢排查,一定可以排查出的。

重新下载tomcat

感觉删掉重新下载会好点。网上虽然有解决方案:把tomcat的配置文件挨着看了一遍,发现server.xml中有一段配置

作者:fengzi_manong
来源:CSDN
原文:https://blog.csdn.net/fengzi_manong/article/details/53198909
版权声明:本文为博主原创文章,转载请附上博文链接!

back-product-web does not exist or is not a readable directory 这个项目不存在或者是一个不可读的文件。把tomcat里面这个项目移除,然后clean下tomcat,在添加项目在运行,或者重新配置tomcat运行试一下。

别用eclipse里面的那个tomcat了,下载个tomcat7,然后设置eclipse发布到外部的tomcat7中,别是你的开发环境的tomcat有问题

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
tomcat启动项目报错
Bean context must contain at least one bean of type org.acegisecurity.util.FilterChainProxy 删除了jar要重新build path
tomcat启动maven项目报错
将eclise上的项目重写了一份一模一样的在IDEA上,eclise启动成功,IDEA就报错了,纠结 rn[code=java]rn09-Jan-2017 16:54:06.200 信息 [RMI TCP Connection(5)-127.0.0.1] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types detected on classpathrn09-Jan-2017 16:54:06.405 信息 [RMI TCP Connection(5)-127.0.0.1] org.apache.catalina.core.ApplicationContext.log Initializing Spring root WebApplicationContextrn09-Jan-2017 16:54:13.284 严重 [RMI TCP Connection(5)-127.0.0.1] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class com.evanosc.common.listener.WebContextListenerrn org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shiroFilter' defined in file [D:\Java\IdeaProjects\evanosc\target\evanosc\WEB-INF\classes\spring\spring-context-shiro.xml]: Cannot resolve reference to bean 'securityManager' while setting bean property 'securityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityManager' defined in file [D:\Java\IdeaProjects\evanosc\target\evanosc\WEB-INF\classes\spring\spring-context-shiro.xml]: Cannot resolve reference to bean 'shiroDbRealm' while setting bean property 'realm'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'shiroDbRealm': Unsatisfied dependency expressed through field 'systemUserService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'systemUserServiceImpl': Unsatisfied dependency expressed through field 'baseMapper'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'systemUserMapper' defined in file [D:\Java\IdeaProjects\evanosc\target\evanosc\WEB-INF\classes\com\evanosc\dao\SystemUserMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [D:\Java\IdeaProjects\evanosc\target\evanosc\WEB-INF\classes\spring\spring-context-mybatis.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [mybatis-config.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.logging.LogException: Error setting Log implementation. Cause: java.lang.reflect.InvocationTargetExceptionrn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1486)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1231)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)rn at org.springframework.context.support.PostProcessorRegistrationDelegate.registerBeanPostProcessors(PostProcessorRegistrationDelegate.java:240)rn at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:697)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:526)rn at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)rn at com.evanosc.common.listener.WebContextListener.initWebApplicationContext(WebContextListener.java:23)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4727)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5189)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)rn at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1702)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:498)rn at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)rn at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)rn at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)rn at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:482)rn at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:431)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:498)rn at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)rn at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)rn at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)rn at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)rn at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)rn at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)rn at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)rn at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:498)rn at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:324)rn at sun.rmi.transport.Transport$1.run(Transport.java:200)rn at sun.rmi.transport.Transport$1.run(Transport.java:197)rn at java.security.AccessController.doPrivileged(Native Method)rn at sun.rmi.transport.Transport.serviceCall(Transport.java:196)rn at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)rn at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)rn at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)rn at java.security.AccessController.doPrivileged(Native Method)rn at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)rn at java.lang.Thread.run(Thread.java:745)rnCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityManager' defined in file [D:\Java\IdeaProjects\evanosc\target\evanosc\WEB-INF\classes\spring\spring-context-shiro.xml]: Cannot resolve reference to bean 'shiroDbRealm' while setting bean property 'realm'; nested exception is org.springframework.beans.factorrn[/code]rnrn
tomcat启动web项目报错
启动项目是报这个错   ERROR [localhost-startStop-1] - Context initialization failed java.lang.IllegalArgumentException     at org.springframework.asm.ClassReader.(Unknown Source)     at org.springframewo
MyEclipse启动项目报错,速度求解
2012-12-21 20:38:38 [org.springframework.web.context.ContextLoader]-[ERROR] Context initialization failedrnorg.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'personZb' defined in class path resource [com/bdqn/zxc/person/applicationContext-person.xml]: Unsatisfied dependency expressed through bean property 'personImpl': : No unique bean of type [com.bdqn.zxc.person.dao.PersonImpl] is defined: expected single matching bean but found 2: [persondaoimpl, personDao]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.bdqn.zxc.person.dao.PersonImpl] is defined: expected single matching bean but found 2: [persondaoimpl, personDao]rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1091)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:982)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)rn at java.security.AccessController.doPrivileged(Native Method)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:566)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.bdqn.zxc.person.dao.PersonImpl] is defined: expected single matching bean but found 2: [persondaoimpl, personDao]rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:621)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1076)rn ... 40 morern2012-12-21 20:38:38 org.apache.catalina.core.StandardContext listenerStartrn严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnorg.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'personZb' defined in class path resource [com/bdqn/zxc/person/applicationContext-person.xml]: Unsatisfied dependency expressed through bean property 'personImpl': : No unique bean of type [com.bdqn.zxc.person.dao.PersonImpl] is defined: expected single matching bean but found 2: [persondaoimpl, personDao]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.bdqn.zxc.person.dao.PersonImpl] is defined: expected single matching bean but found 2: [persondaoimpl, personDao]rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1091)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:982)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)rn at java.security.AccessController.doPrivileged(Native Method)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:566)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.bdqn.zxc.person.dao.PersonImpl] is defined: expected single matching bean but found 2: [persondaoimpl, personDao]
IDEA启动tomcat项目报错问题
启动tomcat时提示如下报错。 原因是当前本地机器的jdk是1.7: IDEA的Project里使用了1.6版本: 而IDEA的Java编译器默认指向了当前机器上的jdk版本,解决方式就是将指向改为Project使用的jdk版本,即1.6。 这是IDEA和Eclipse的不同之处。 ...
springmvc项目报错-启动tomcat停不下来
今天做项目遇到启动tomcat时停不下来,来来回回找了好几遍才发现是映射的xml的namespace路径没写对,导致tomcat启动不停止; 有时启动扫描不到自己建的xml映射 classpath:com/huacan/common/mapper/*.xml 找找配置mybatis的这个路径,这个是扫描到你xml的配置路径
关于tomcat启动WEB项目报错
[size=large]原来是LIB包中的JAR包都没有自动编译到webroot目录中,晕,报的是一个javax/el/ExpressionFactory什么的错误。特在此记录一下。[/size]
本地Tomcat启动多模块项目报错
报错文件 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'syncMediaResource': Injection of resource dependencies failed; nested exception is org.springframework.be...
Tomcat 项目启动maven项目报错
Tomcat启动项目报错提示: Error configuring application listener of class com.ceair.pss.tiles.listener 网上基本没有解决方案,查不到相应的解决方案。 主要是项目里面的这个web.xml文件里面的问题: 解决方案: 项目右键->Maven-updateProject 项目右键->properties-&...
myeclipse启动java项目报错
报错代码如下: 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListen
Tomcat项目报错
问题描述:解决Tomcat version 7.0 only supports J2EE 1.2, 1.3, 1.4, and Java EE 5 and 6 Web modules。   1.在你的eclipse的工作空间找到org.eclipse.wst.common.project.facet.core.xml          2.把version降低 我的
was启动项目报错
com.ibm.ws.exception.RuntimeWarning: com.ibm.ws.webcontainer.exception.WebAppNotLoadedException: Failed to load webapp: Failed to load webapp: java.lang.ArrayIndexOutOfBoundsException 查找:看systemErr...
求解tomcat启动问题
最近在用myeclipse时,启动tomcat服务器时老是报错[img=http://F:\Images][/img]
tomcat启动 发布maven ssh项目报错
九月 09, 2017 9:16:24 上午 org.apache.catalina.core.ContainerBase startInternalrn严重: A child container failed during startrnjava.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.JarResourceSet@30d944d8]rn at java.util.concurrent.FutureTask.report(FutureTask.java:122)rn at java.util.concurrent.FutureTask.get(FutureTask.java:192)rn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:947)rn at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:839)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1425)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1415)rn at java.util.concurrent.FutureTask.run(FutureTask.java:266)rn at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)rn at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)rn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:941)rn at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:258)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)rn at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)rn at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:770)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:657)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:498)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:355)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:495)rnCaused by: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.JarResourceSet@30d944d8]rn at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:441)rn at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:139)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:173)rn at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:724)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)rn at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4758)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4893)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1425)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1415)rn at java.util.concurrent.FutureTask.run(FutureTask.java:266)rn at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)rn at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)rn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:941)rn ... 21 morernCaused by: java.lang.IllegalArgumentException: java.util.zip.ZipException: invalid LOC header (bad signature)rn at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:114)rn at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)rn ... 33 morernCaused by: java.util.zip.ZipException: invalid LOC header (bad signature)rn at java.util.zip.ZipFile.read(Native Method)rn at java.util.zip.ZipFile.access$1400(ZipFile.java:60)rn at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:717)rn at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:419)rn at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)rn at sun.misc.IOUtils.readFully(IOUtils.java:65)rn at java.util.jar.JarFile.getBytes(JarFile.java:425)rn at java.util.jar.JarFile.getManifestFromReference(JarFile.java:193)rn at java.util.jar.JarFile.getManifest(JarFile.java:180)rn at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:112)rn ... 34 morernrn九月 09, 2017 9:16:24 上午 org.apache.catalina.core.ContainerBase startInternalrn严重: A child container failed during startrnjava.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: A child container failed during startrn at java.util.concurrent.FutureTask.report(FutureTask.java:122)rn at java.util.concurrent.FutureTask.get(FutureTask.java:192)rn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:947)rn at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:258)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)rn at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)rn at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:770)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:657)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:498)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:355)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:495)rnCaused by: org.apache.catalina.LifecycleException: A child container failed during startrn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:956)rn at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:839)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1425)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1415)rn at java.util.concurrent.FutureTask.run(FutureTask.java:266)rn at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)rn at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)rn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:941)rn ... 13 morernrn九月 09, 2017 9:16:24 上午 org.apache.catalina.startup.Catalina startrn严重: The required Server component failed to start so Tomcat is unable to start.rnorg.apache.catalina.LifecycleException: A child container failed during startrn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:956)rn at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:258)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)rn at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)rn at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:770)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:657)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:498)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:355)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:495)
tomcat问题 启动不了 web项目报错
Demo13 is required and cannot be removed from the servernn每个web项目都在run as 的时候,点击该项目命称,最上面就会出现这句话,前面有个红叉,最后运行时报错,但我的build path等配置并没问题,tomcat安装都没问题nnn![图片说明](https://img-ask.csdn.net/upload/201604/19/1461030761_33712.png)nnn![图片说明](https://img-ask.csdn.net/upload/201604/19/1461030774_221600.png)
IDEA开发工具报错----使用Tomcat启动项目报错
使用idea工具启动tomcat服务器报错: Application Server was not connected before run configuration stop, reason: Unable to ping server at localhost:xxx 查了很多资料,有的说是端口号被占用,修改后发现并不是;有的说是...
vs2010老项目报错求解
VS2010 尝试设置 IDE 的进程内编译器的“References”参数时出现问题。对 COM 组件的调用返回了?rn
【求解】silverlight生成项目报错!
项目文件必须在引用列表中包含 .NET Framework 程序集“WindowsBase, PresentationCore, PresentationFramework”rnrn环境server2008系统,生成报错,添加这三个dll又会报[img=https://img-bbs.csdn.net/upload/201410/27/1414400145_799380.jpg][/img]rnrn是少装了什么东西吗??
启动Tomcat就报错,求解
2010-08-05 09:41:44,439 [main] ERROR ContextLoader - Context initialization failedrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class cn.com.hnisi.fb.models.ShopBaseData)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1412)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:557)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class cn.com.hnisi.fb.models.ShopBaseData)rn at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1851)rn at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:890)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1354)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)rn at java.lang.ClassLoader.loadClassInternal(Unknown Source)rn at java.lang.Class.forName0(Native Method)rn at java.lang.Class.forName(Unknown Source)rn at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:192)rn at org.hibernate.mapping.PersistentClass.getMappedClass(PersistentClass.java:122)rn at org.hibernate.tuple.PropertyFactory.getGetter(PropertyFactory.java:191)rn at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:67)rn at org.hibernate.tuple.entity.EntityMetamodel.(EntityMetamodel.java:136)rn at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:475)rn at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:133)rn at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:84)rn at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:297)rn at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1385)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:855)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:774)rn at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1469)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1409)rn ... 36 morern2010-8-5 9:41:44 org.apache.catalina.core.StandardContext startrnrn本人使用的工具是MyEclipse8.0,JDK 是1.6,集成的是struts2,spring3,hibernate3rn在web.xml文件的配置是这样的:rnrn contextConfigLocationrn classpath:applicationContext.xmlrnrnrnrn org.springframework.web.context.ContextLoaderListenerrnrnrn报错的原因我个人认为是JDK版本的问题,但是我更换为MyEclipse自带的JDK也还是不行,请高手不吝赐教,多谢了
Myeclipse tomcat 部署项目报错
Deployment is out of date due to changes in the underlying project contents……项目是没有什么问题的,至于jar包也是没有问题的查了很久居然是。。。 运行的时候选择管理员运行myeclipse可能是安装的时候没有指定用户,设置成管理员权限后再部署就没有什么问题了
tomcat 7.0.2 下项目报错!
SSH项目迁移至 tomcat7.0.2下rn开始运行正常。过了一天,第二天打开tomcat报错。rn[code="java"]rn2010-9-25 16:46:00 org.apache.catalina.core.AprLifecycleListener initrn信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:rnrn E:\Program Files\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;.;C:\jdk1.5\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;rnrn2010-9-25 16:46:01 org.apache.tomcat.util.net.NioSelectorPool getSharedSelectorrn信息: Using a shared selector for servlet write/readrn2010-9-25 16:46:01 org.apache.coyote.http11.Http11NioProtocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2010-9-25 16:46:01 org.apache.coyote.ajp.AjpProtocol initrn信息: Initializing Coyote AJP/1.3 on ajp-8009rn2010-9-25 16:46:01 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 1153 msrn2010-9-25 16:46:01 org.apache.catalina.core.StandardService startInternalrn信息: Starting service Catalinarn2010-9-25 16:46:01 org.apache.catalina.core.StandardEngine startInternalrn信息: Starting Servlet Engine: Apache Tomcat/7.0.2rn2010-9-25 16:46:01 org.apache.catalina.startup.HostConfig deployDescriptorrn信息: Deploying configuration descriptor ssh.xml from D:\apache-tomcat-7.0.2\conf\Catalina\localhostrn2010-9-25 16:46:01 org.apache.catalina.loader.WebappClassLoader validateJarFilern信息: validateJarFile(D:\ssh\WEB-INF\lib\javaee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.classrn2010-9-25 16:46:02 org.apache.tomcat.util.digester.Digester endElementrn严重: End event threw exceptionrnjava.lang.NoSuchMethodException: org.apache.catalina.deploy.WebXml addServletrn at org.apache.tomcat.util.IntrospectionUtils.callMethod1(IntrospectionUtils.java:802)rn at org.apache.tomcat.util.digester.SetNextRule.end(SetNextRule.java:202)rn at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1058)rn at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)rn at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)rn at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)rn at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)rn at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)rn at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)rn at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)rn at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)rn at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1544)rn at org.apache.catalina.startup.ContextConfig.parseWebXml(ContextConfig.java:1623)rn at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1193)rn at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)rn at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:313)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4667)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:785)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:763)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:557)rn at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:674)rn at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:599)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:538)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1390)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:355)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)rn at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:313)rn at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:293)rn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:996)rn at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:771)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)rn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:988)rn at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:275)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)rn at org.apache.catalina.core.StandardService.startInternal(StandardService.java:427)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)rn at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:649)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:585)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:415)rn2010-9-25 16:46:02 org.apache.catalina.startup.ContextConfig parseWebXmlrn严重: Parse error in application web.xml file at file://D:\apache-tomcat-7.0.2\conf\web.xmlrnjava.lang.NoSuchMethodException: org.apache.catalina.deploy.WebXml addServletrn at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2688)rn at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2714)rn at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1061)rn at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)rn at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)rn at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)rn at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)rn at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)rn at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)rn at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)rn at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)rn at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1544)rn at org.apache.catalina.startup.ContextConfig.parseWebXml(ContextConfig.java:1623)rn at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1193)rn at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)rn at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:313)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4667)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:785)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:763)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:557)rn at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:674)rn at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:599)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:538)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1390)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:355)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)rn at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:313)rn at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:293)rn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:996)rn at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:771)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)rn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:988)rn at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:275)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)rn at org.apache.catalina.core.StandardService.startInternal(StandardService.java:427)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)rn at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:649)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:585)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:415)rn2010-9-25 16:46:02 org.apache.catalina.startup.ContextConfig parseWebXmlrn严重: Occurred at line 108 column 15rn2010-9-25 16:46:02 org.apache.tomcat.util.digester.Digester endElementrn严重: End event threw exceptionrnjava.lang.NoSuchMethodException: org.apache.catalina.deploy.WebXml addFilterrn at org.apache.tomcat.util.IntrospectionUtils.callMethod1(IntrospectionUtils.java:802)rn at org.apache.tomcat.util.digester.SetNextRule.end(SetNextRule.java:202)rn at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1058)rn at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)rn at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)rn at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)rn at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)rn at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)rn at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)rn at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)rn at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)rn at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1544)rn at org.apache.catalina.startup.ContextConfig.parseWebXml(ContextConfig.java:1623)rn at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1205)rn at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)rn at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:313)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4667)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:785)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:763)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:557)rn at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:674)rn at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:599)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:538)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1390)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:355)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)rn at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:313)rn at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:293)rn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:996)rn at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:771)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)rn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:988)rn at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:275)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)rn at org.apache.catalina.core.StandardService.startInternal(StandardService.java:427)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)rn at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:649)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:585)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:415)rn2010-9-25 16:46:02 org.apache.catalina.startup.ContextConfig parseWebXmlrn严重: Parse error in application web.xml file at jndi:/localhost/ssh/WEB-INF/web.xmlrnjava.lang.NoSuchMethodException: org.apache.catalina.deploy.WebXml addFilterrn at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2688)rn at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2714)rn at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1061)rn at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)rn at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)rn at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)rn at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)rn at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)rn at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)rn at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)rn at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)rn at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1544)rn at org.apache.catalina.startup.ContextConfig.parseWebXml(ContextConfig.java:1623)rn at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1205)rn at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)rn at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:313)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4667)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:785)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:763)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:557)rn at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:674)rn at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:599)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:538)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1390)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:355)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)rn at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:313)rn at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:293)rn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:996)rn at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:771)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)rn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:988)rn at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:275)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)rn at org.apache.catalina.core.StandardService.startInternal(StandardService.java:427)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)rn at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:649)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:585)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:415)rn2010-9-25 16:46:02 org.apache.catalina.startup.ContextConfig parseWebXmlrn严重: Occurred at line 22 column 11rnrn[/code]
Tomcat运行项目报错:org.apache.tomcat.util.bcel.classfile.ClassFormatException
[color=#FF0000]org.apache.tomcat.util.bcel.classfile.ClassFormatException: It is not a Java .class file[/color]rn at org.apache.tomcat.util.bcel.classfile.ClassParser.readID(ClassParser.java:202)rn at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:80)rn at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2123)rn at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1985)rn at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1946)rn at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1931)rn at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1330)rn at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:889)rn at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5472)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1572)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1562)rn at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)rn at java.util.concurrent.FutureTask.run(FutureTask.java:166)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)rn at java.lang.Thread.run(Thread.java:722)rn怎么改正啊 急求
weblogic启动项目报错
1、使用weblogic启动项目时报下边错误:java.lang.NullPointerException java.lang.NullPointerException at weblogic.deploy.internal.adminserver.DeploymentManager.getPendingDeploymentsForEditLockOwner(DeploymentManager...
vue中,启动项目报错。
检查有没有package.json和node_modules文件夹。
求助 tomcat6.0启动项目报错
信息: Initializing Spring root WebApplicationContextrn[QC] 2011-10-06 09:57:23,796 0 ERROR [main] org.springframework.web.context.ContextLoader.initWebApplicationContext(214) | Context initialization failedrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0': Cannot create inner bean '(inner bean)' of type [org.springframework.aop.aspectj.AspectJExpressionPointcut] while setting bean property 'pointcut'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.aop.aspectj.AspectJExpressionPointcut]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems: rn The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class filesrn The type java.lang.Class cannot be resolved. It is indirectly referenced from required .class filesrnrn后面还有一堆 help~
启动springboot项目报错
2018-11-07 19:51:11.775[INFO ][background-preinit][o.h.v.i.util.Version:30] HV000001: Hibernate Validator 5.2.4.Final . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \...
求助,eclipse启动项目报错
could not create the java virtual machine rn我用的eclipse是Eclipse for RCP and RAP Developers 项目是sdk项目rn启项目动时时报 could not create the java virtual machine rn错误日志:rnjava.lang.UnsupportedClassVersionError: org/eclipse/core/runtime/adaptor/EclipseStarter rn: Unsupported major.minor version 51.0rn这是eclipse.ini配置rn-startuprnplugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jarrn--launcher.libraryrnplugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.500.v20161213-1756rn-productrnorg.eclipse.epp.package.rcp.productrn-showsplashrnorg.eclipse.epp.package.commonrn--launcher.defaultActionrnopenFilern--launcher.defaultActionrnopenFilern--launcher.appendVmargsrn-vmargsrn-Dosgi.requiredJavaVersion=1.6rn-XX:+UseG1GCrn-XX:+UseStringDeduplicationrn-Dosgi.requiredJavaVersion=1.6rn-Xms512mrn-Xmx1024mrn网上找了好多办法都没发启动,有没有大神啊?
tomcat6启动项目报错
这是什么情况啊,求解rnjava.lang.NullPointerException:rnorg.apache.catalina.ha.tcp.ReplicationValue.invoke(ReplicationValue.java:348)
命令行下启动react-native项目报错
关于运行react-native run-ios报错 react-native run-ios这个命令做了什么?第一步:这个命令会在当前目录下找ios文件夹,然后再从这个文件夹中寻找项目的.xcodeproj文件。因此就要求,项目的.xcodeproj文件需要放在ios文件夹中,否则它找不到。 Print: Entry, ":CFBundleIdentifier", Does Not Exist
log4j配置文件启动项目报错。
属性文件配置如下:rn[code=XML]log4j.rootLogger=INFO,db rnlog4j.appender.db=org.apache.log4j.jdbc.JDBCAppender rnlog4j.appender.db.BufferSize=10 rnlog4j.appender.db.driver=net.sourceforge.jtds.jdbc.Driver rnlog4j.appender.db.URL=jdbc:jtds:sqlserver://server:1434/pcbsyn rnlog4j.appender.db.user=sa rnlog4j.appender.db.password=711 rnlog4j.appender.db.sql=insert into logInfo(userId,userName,lclass,lmethod,lTime,llevel,message) values ('%XuserId','%XuserName','%C','%M','%dyyyy-MM-dd HH:mm:ss','%p','%m') rn rnlog4j.appender.db.layout=org.apache.log4j.PatternLayout rn[/code]rn端口是1434 数据库是pcbsyn 。这个jtds的jar文件 在WEB-INF\lib目录下面是存在的! jtds-1.2.5.jarrn数据库是 sql server 2000 sp4rnrn[code=Java]log4j:ERROR Failed to load driverrnjava.lang.ClassNotFoundException: net.sourceforge.jtds.jdbc.Driver rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)rn at java.lang.Class.forName0(Native Method)rn at java.lang.Class.forName(Class.java:169)rn at org.apache.log4j.jdbc.JDBCAppender.setDriver(JDBCAppender.java:351)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.log4j.config.PropertySetter.setProperty(PropertySetter.java:206)rn at org.apache.log4j.config.PropertySetter.setProperty(PropertySetter.java:165)rn at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:130)rn at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:97)rn at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:689)rn at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:647)rn at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:544)rn at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:440)rn at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:476)rn at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:471)rn at org.apache.log4j.LogManager.(LogManager.java:125)rn at org.apache.log4j.Logger.getLogger(Logger.java:105)rn at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:289)rn at org.apache.commons.logging.impl.Log4JLogger.(Log4JLogger.java:109)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)rn at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)rn at java.lang.reflect.Constructor.newInstance(Constructor.java:513)rn at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1116)rn at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:914)rn at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:604)rn at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:336)rn at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:310)rn at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:183)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)rn at org.apache.catalina.core.StandardService.start(StandardService.java:519)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:581)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)[/code]
启动项目报错 找不到类
java.lang.ClassNotFoundException: org.springframework.web.util.Log4jConfigLi 添加了maven依赖,依然找不到----删了.m2文件,update-重新发布---OK
使用velocity启动项目报错
启动tomcat时,出现 2007-3-15 16:42:42 org.apache.catalina.core.ApplicationContext log 信息: Velocity [error] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. 200...
idea编辑器启动项目报错
15-Jan-2019 09:51:38.885 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriat...
Javaweb启动项目报错原因
造成404原因是1 输出路径报错,没有改输出路径2 xml文件配置是否忽略元素为ture,应该设置为false<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun....
maven 启动 Spring项目报错
第一个问题 java.lang.ClassCastException: org.springframework.web.SpringServletContainerInitializer cannot be cast to javax.servlet.ServletContainerInitializer出现原因主要是 javax.servlet-api 在运行时将spring容器当成了serv
关于启动项目报错问题
原来项目是用mysql 现在改用oracle 我就改了一下hibernate的配置文件 然后加了连接驱动(我用的12c 但是jdk用的1.7所以没有连接成功) 报错 我改成mysql连接还是报错 有没有提点一下的rn报错内容rn严重: ContainerBase.addChild: start: rnorg.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/market]]rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1260)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2002)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)rn at java.util.concurrent.FutureTask.run(FutureTask.java:262)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)rn at java.lang.Thread.run(Thread.java:745)rnCaused by: java.lang.NoSuchMethodError: javax.servlet.ServletContext.getClassLoader()Ljava/lang/ClassLoader;rn at org.apache.catalina.startup.WebappServiceLoader.load(WebappServiceLoader.java:96)rn at org.apache.catalina.startup.ContextConfig.processServletContainerInitializers(ContextConfig.java:1573)rn at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1279)rn at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:887)rn at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:387)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5472)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)rn ... 10 morern六月 24, 2017 11:13:45 上午 org.apache.catalina.startup.HostConfig deployDirectoryrn严重: Error deploying web application directory D:\develop\apache-tomcat-7.0.69\webapps\marketrnjava.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/market]]rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:903)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1260)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2002)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)rn at java.util.concurrent.FutureTask.run(FutureTask.java:262)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)rn at java.lang.Thread.run(Thread.java:745)rn六月 24, 2017 11:13:45 上午 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deployment of web application directory D:\develop\apache-tomcat-7.0.69\webapps\market has finished in 827 msrn六月 24, 2017 11:13:45 上午 org.apache.coyote.AbstractProtocol startrn信息: Starting ProtocolHandler ["http-apr-8080"]rn六月 24, 2017 11:13:45 上午 org.apache.coyote.AbstractProtocol startrn信息: Starting ProtocolHandler ["ajp-apr-8009"]rn六月 24, 2017 11:13:45 上午 org.apache.catalina.startup.Catalina start
weblogic部署项目 启动项目报错
2015-01-28 22:43:43,392 [STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernelrn.Default (self-tuning)' INFO (LRUMemoryCache.java:78) - initialized LRUMemoryCarnche for bookCachern2015-01-28 22:43:43,392 [STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernelrn.Default (self-tuning)' INFO (CompositeCache.java:146) - Constructed cache withrn name: bookCachern2015-01-28 22:43:43,392 [STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernelrn.Default (self-tuning)' ERROR (CacheManager.java:55) - 实例化CATCHE失败!rnjava.lang.NullPointerExceptionrn at java.util.Hashtable.get(Hashtable.java:334)rn at org.apache.jcs.engine.control.CompositeCacheManager.getCache(CompositrneCacheManager.java:304)rn at org.apache.jcs.engine.control.CompositeCacheManager.getCache(CompositrneCacheManager.java:271)rn at org.apache.jcs.engine.control.CompositeCacheManager.getCache(CompositrneCacheManager.java:264)rn at org.apache.jcs.JCS.getInstance(JCS.java:65)rn at com.resoft.utils.CacheManager.(CacheManager.java:50)rn at com.resoft.utils.CacheManager.getInstance(CacheManager.java:68)rn at com.resoft.web.action.AMLContextListener.contextInitialized(AMLContexrntListener.java:41)rn at weblogic.servlet.internal.EventsManager$FireContextListenerAction.runrn(EventsManager.java:481)rn at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticaterndSubject.java:321)rn at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:rn120)rn at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EvernntsManager.java:181)rn at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAprnpServletContext.java:1868)rn at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletConrntext.java:3154)rn at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.javrna:1518)rn at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)rn at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStarnteDriver.java:425)rn at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDrnriver.java:52)rn at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStatrneDriver.java:119)rn at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModrnuleDriver.java:200)rn at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModulernListenerInvoker.java:247)rn at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStarnteDriver.java:425)rn at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDrnriver.java:52)rn at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStatrneDriver.java:119)rn at weblogic.application.internal.flow.StartModulesFlow.activate(StartModrnulesFlow.java:27)rn at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.jarnva:671)rn at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDrnriver.java:52)rn at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.rnjava:212)rn at weblogic.application.internal.SingleModuleDeployment.activate(SingleMrnoduleDeployment.java:44)rn at weblogic.application.internal.DeploymentStateChecker.activate(DeploymrnentStateChecker.java:161)rn at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AprnpContainerInvoker.java:79)rn at weblogic.deploy.internal.targetserver.operations.AbstractOperation.acrntivate(AbstractOperation.java:569)rn at weblogic.deploy.internal.targetserver.operations.ActivateOperation.acrntivateDeployment(ActivateOperation.java:150)rn at weblogic.deploy.internal.targetserver.operations.ActivateOperation.dornCommit(ActivateOperation.java:116)rn at weblogic.deploy.internal.targetserver.operations.StartOperation.doComrnmit(StartOperation.java:149)rn at weblogic.deploy.internal.targetserver.operations.AbstractOperation.cornmmit(AbstractOperation.java:323)rn at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymrnentCommit(DeploymentManager.java:844)rn at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeplornymentList(DeploymentManager.java:1253)rn at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(rnDeploymentManager.java:440)rn at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.comrnmit(DeploymentServiceDispatcher.java:163)rn at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbrnackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)rn at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbrnackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)rn at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbrnackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)rn at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuninrngWorkManagerImpl.java:545)rn at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)rn at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)rn2015-01-28 22:43:43,424 [STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernelrn.Default (self-tuning)' ERROR (CacheManager.java:57) - java.lang.NullPointerExcernptionrn2015-01-28 22:43:43,424 [STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernelrn.Default (self-tuning)' INFO (CacheManager.java:97) - 重新加载缓存,当前使用对象rn:初始化rn<2015-1-28 下午10时43分43秒 CST> rn<2015-1-28 下午10时43分43秒 CST> rn<2015-1-28 下午10时43分43秒 CST> rn<2015-1-28 下午10时43分43秒 CST> rn<2015-1-28 下午10时43分43秒 CST> rn
启动项目报错监听失败
13-Oct-2017 15:09:07.062 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [F:\tomcat8\webapps\manager]rn13-Oct-2017 15:09:07.469 信息 [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.rn13-Oct-2017 15:09:07.510 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [F:\tomcat8\webapps\manager] has finished in [447] msrn13-Oct-2017 15:09:09.482 警告 [RMI TCP Connection(5)-127.0.0.1] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]Context Setting property 'debug' to '0' did not find a matching property.rn13-Oct-2017 15:09:43.775 信息 [RMI TCP Connection(5)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.rnlog4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).rnlog4j:WARN Please initialize the log4j system properly.rn13-Oct-2017 15:09:45.328 严重 [RMI TCP Connection(5)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log filern13-Oct-2017 15:09:45.329 严重 [RMI TCP Connection(5)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [/admin] startup failed due to previous errorsrn
ssh配置问题,启动项目报错。
……rn……rn信息: Parsing configuration file [struts-plugin.xml]rn2011-2-25 16:32:22 org.apache.catalina.core.StandardContext filterStartrn[color=#FF0000]严重: Exception starting filter struts2rnClass: sun.net.www.http.HttpClientrnFile: HttpClient.javarnMethod: parseHTTPHeader[/color]rnLine: 763 - sun/net/www/http/HttpClient.java:763:-1rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:835)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:131)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:100)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:130)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:395)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:452)rn at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:205)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:78)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3666)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4258)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:980)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:943)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:500)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1203)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:448)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:552)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:592)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)rn[color=#FF0000]Caused by: Unexpected end of file from server - Class: sun.net.www.http.HttpClientrnFile: HttpClient.javarnMethod: parseHTTPHeaderrnLine: 763 - sun/net/www/http/HttpClient.java:763:-1[/color]rn at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:123)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:830)rn ... 34 morernCaused by: java.net.SocketException: Unexpected end of file from serverrn at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:763)rn at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:626)rn at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:760)rn at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:626)rn at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:983)rn at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:973)rn at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:905)rn at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:872)rn at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:282)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XMLDocumentScannerImpl.java:1021)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)rn at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)rn at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)rn at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:121)rn ... 35 morern2011-2-25 16:32:22 org.apache.catalina.core.StandardContext startrn严重: Error filterStartrn2011-2-25 16:32:22 org.apache.catalina.core.StandardContext startrn严重: Context [/sshDemo] startup failed due to previous errorsrn2011-2-25 16:32:22 org.apache.catalina.core.ApplicationContext logrn信息: Closing Spring root WebApplicationContextrn……rn用的struts2,applicationContext.xml和struts.xml都在src目录下,用到的jar包应该都有了。下面是web.xml的内容:rnrnrn rn contextConfigLocationrn rn classpath:applicationContext.xmlrn rn rn rn struts2rn rn org.apache.struts2.dispatcher.FilterDispatcherrn rn rn rn struts2rn /*rn rn rn rn org.springframework.web.context.ContextLoaderListenerrn rn rn rn请问这是什么原因报的错误,弄了半天还是没找出原因。
java项目报错
package ************************ import javax.annotation.Resource; import javax.servlet.http.Cookie; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse
相关热词 c# 标准差 计算 c#siki第五季 c#入门推荐书 c# 解码海康数据流 c# xml的遍历循环 c# 取 查看源码没有的 c#解决高并发 委托 c#日期转化为字符串 c# 显示问号 c# 字典对象池