服务器启动报错,ssm项目

ssm的架构,启动服务器一直报错照着以前做的项目搭的,不知道为什么一直报错图片说明

2个回答

你用idea的时候打包错了把,另外可以看下另一个控制台输出的什么错误

dcxy0
Q544471255 回复In_new: 看下其它的错误信息,你这个错误信息太少了
接近 2 年之前 回复
qq_38663729
In_new java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener这个异常,但是我在web.xml中已经配置,鼠标可以点进去
接近 2 年之前 回复

确认一下jar包是否冲突!

qq_38663729
In_new 没有用maven,还有就是现在完全复制以前项目的jar包依然报错
接近 2 年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
maven SSM项目启动报错
使用idea 2018 搭建maven ssm项目rn启动Tomcat后报错,如下:rn[code=java]ERROR [RMI TCP Connection(3)-127.0.0.1] - Context initialization failedrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [D:\java\WorkSpace\wms-maven\target\ssm\WEB-INF\classes\spring\applicationContext-dao.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldExceptionrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:471)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:700)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)rn at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)rn at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1551)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:301)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:622)rn at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:569)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:301)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:346)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七月 24, 2018 7:24:52 下午 org.apache.catalina.core.StandardContext startInternalrn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)rn严重: Error listenerStartrn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)rn七月 24, 2018 7:24:52 下午 org.apache.catalina.core.StandardContext startInternalrn at java.lang.Thread.run(Thread.java:748)rn严重: Context [/wms] startup failed due to previous errorsrnCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldExceptionrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:547)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)rn at org.springframework.aop.framework.autoproxy.BeanFactoryAdvisorRetrievalHelper.findAdvisorBeans(BeanFactoryAdvisorRetrievalHelper.java:92)rn at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findCandidateAdvisors(AbstractAdvisorAutoProxyCreator.java:101)rn at org.springframework.aop.aspectj.autoproxy.AspectJAwareAdvisorAutoProxyCreator.shouldSkip(AspectJAwareAdvisorAutoProxyCreator.java:103)rn at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessBeforeInstantiation(AbstractAutoProxyCreator.java:289)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:958)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:930)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:465)rn ... 55 morernCaused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldExceptionrn at java.lang.Class.getDeclaredConstructors0(Native Method)rn at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)rn at java.lang.Class.getDeclaredConstructors(Class.java:2020)rn at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor.java:234)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineConstructorsFromBeanPostProcessors(AbstractAutowireCapableBeanFactory.java:1040)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1013)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:269)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:126)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1456)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1197)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)rn ... 67 morernCaused by: java.lang.ClassNotFoundException: org.aspectj.weaver.reflect.ReflectionWorld$ReflectionWorldExceptionrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)rn ... 80 morern[2018-07-24 07:24:52,075] Artifact wms-maven:war exploded: Error during artifact deployment[/code]rn
SSM项目Tomcat启动报错
[code=text] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'LoginDao': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'LoginMapper' is definedrn at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:308)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:703)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)rn at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5017)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5531)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1574)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1564)rn at java.util.concurrent.FutureTask.run(FutureTask.java:266)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:748)rnCaused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'LoginMapper' is definedrn at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:641)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1159)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:282)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)rn at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:446)rn at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:420)rn at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:545)rn at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:155)rn at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)rn at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:305)rn ... 22 more[/code]rn这是dao实现类rn[code=java]rn@Repository("LoginDao")rnpublic class LoginDaoImpl implements LoginDao rn rn @Resource(name = "LoginMapper")rn private LoginMapper LoginMapper;rnrn public LoginMapper getLoginMapper() rn return LoginMapper;rn rnrn public void setLoginMapper(LoginMapper loginMapper) rn LoginMapper = loginMapper;rn [/code]rn这是service实现类rn[code=java]@Service("LoginService")rnpublic class LoginServiceImpl implements LoginService rn rn @Resourcern private LoginDao LoginDao;rn[/code]rn配置文件rn[code=text]rnrn rn rn rn rn rn classpath:database.propertiesrn rn rn rn rn rn rn rn rn rn rn $mysql.driver_classrn rn rn rn $mysql.connection.urlrn rn rn rn $mysql.connection.usernamern rn rn rn $mysql.connection.passwordrn rn rn rn 30rn rn rn rn 2rn rn rn rn 2rn rn rn rn 10rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn classpath:entity/config/*.xmlrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrn rn rnrn[/code]rnspringmvc配置文件rn[code=text]rnrn rn rn rn rn rn rn rn rn text/html;charset=UTF-8 rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrn rnrn rn rn rn rn rnrn[/code]
ssm项目tomcat启动报错
今天在做完项目一个模块进行打包测试,启动tomca的时候出现如下错误:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'suHandlerServiceImpl': Injection of resource dependencies failed; nested exce...
ssm项目启动报错 java.lang.AbstractMethodError
22-Jan-2018 00:04:36.990 信息 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types detected on classpathrn22-Jan-2018 00:04:37.515 信息 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.ApplicationContext.log Initializing Spring root WebApplicationContextrn22-Jan-2018 00:04:46.048 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.filterStart Exception starting filter [cors]rn[b] java.lang.AbstractMethodError[/b]rn at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4590)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5233)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)rn at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1739)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:357)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:1149)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)rn at java.lang.Thread.run(Thread.java:748)rnrn22-Jan-2018 00:04:46.077 信息 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.ApplicationContext.log Closing Spring root WebApplicationContextrnrn没有显示出错的地方,请问该如何解决rn
急求!!!SSM项目启动报错
[img=https://img-bbs.csdn.net/upload/201711/13/1510503718_181952.png][/img]rnrn[img=https://img-bbs.csdn.net/upload/201711/13/1510503729_688134.png][/img]rnrn[img=https://img-bbs.csdn.net/upload/201711/13/1510503739_924455.png][/img]rnrn[img=https://img-bbs.csdn.net/upload/201711/13/1510503746_345379.png][/img]rnrn[img=https://img-bbs.csdn.net/upload/201711/13/1510503753_508434.png][/img]rnrn[img=https://img-bbs.csdn.net/upload/201711/13/1510503760_903425.png][/img]rnrn不要讲什么没有使用@Controller或者@Service注解rn麻烦大神认真看下rn感谢不尽
ssm项目启动报错--文件提前结束
java.lang.IllegalStateException: Failed to load ApplicationContext我这边的原因是扫描时有空的xml文件,删掉就好
服务器上项目启动报错
服务器系统是windows,前几天服务器磁盘坏了,进行了数据恢复。rn重新配置了环境,rn现在启动项目报了错,以前没有出现过的错误。rn[img=https://img-bbs.csdn.net/upload/201610/27/1477531808_133689.png][/img]rn这是什么原因呢?端口占用还是防火墙的原因?rn求大牛解答啊[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/9.gif][/img]
SSM启动报错
错误日志:while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.fh.entity.system.Menu java.io.WriteAbortedException: writing aborted; java
3码项目服务器启动报错
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.ccssoft.platform.dorado.client.listener.EntityTemplateCacheListener#0' defined in class path resource [dor...
SSM项目启动报错,spring生成bean失败
下面是控制台报的错,应该是配置文件配置映射文件路径有问题吧,但是我不清楚该怎么改,还望大佬指点。[img=https://img-bbs.csdn.net/upload/201802/01/1517447311_746709.jpg][/img][img=https://img-bbs.csdn.net/upload/201802/01/1517447324_356066.jpg][/img][img=https://img-bbs.csdn.net/upload/201802/01/1517447353_400151.jpg][/img][img=https://img-bbs.csdn.net/upload/201802/01/1517447370_25427.jpg][/img]
ssm启动报错XXXbean未定义
在运行项目时,报错信息是一个实体类的bean未定义,原因是实体类没有注入到Spring,觉得很奇怪正常来讲框架配置是没问题的。找了一段时间后,发现是service层service和Transactional注解写的有问题,要注意配置是这样的...
ssm maven启动报错
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [E:\awtf\school\prj-manager\prj-manager-service\target\classes\spring\spring-dao.xml...
ssm框架整合启动报错记录
1.java.lang.IllegalArgumentException: Could not resolve resource location pattern 提示原因:class path resource [sy/mapping/] cannot be resolved to URL because it does not exist  查找原因:sqlMapper文件的类路径写错,c...
ssm整合,Tomcat启动报错
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'MerchantService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.ws.merchant.dao.MerchantDao] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: @javax.annotation.Resource(shareable=true, lookup=, name=, description=, authenticationType=CONTAINER, type=class java.lang.Object, mappedName=)rn at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:308)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:703)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)rn at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1100)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1618)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)rn at java.util.concurrent.FutureTask.run(FutureTask.java:266)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.NoSuchBeanDefinitionException: No qualifying bean of type [com.ws.merchant.dao.MerchantDao] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: @javax.annotation.Resource(shareable=true, lookup=, name=, description=, authenticationType=CONTAINER, type=class java.lang.Object, mappedName=)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1103)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:963)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:858)rn at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:442)rn at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:420)rn at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:545)rn at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:155)rn at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)rn at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:305)rn ... 26 morernrnrnrn百度了很多解决方案,都是说 @ Service忘记写了,或者没加 rn rn rn但是我都加了,表示很无奈rn下面是我的一些代码rnrnrn[code=java]package com.ws.merchant.service.impl;rnrnimport javax.annotation.Resource;rnrnimport org.springframework.stereotype.Service;rnrnimport com.ws.merchant.dao.MerchantDao;rnimport com.ws.merchant.model.Merchant;rnimport com.ws.merchant.service.MerchantService;rnrn/**rn * 商户service实现类rn *rn * @author ldsrn * @date 2018-1-12rn *rn */rn@Service("MerchantService")rnpublic class MerchantServiceImpl implements MerchantServicern rn @Resourcern private MerchantDao merchantDao;rnrn @Overridern public Merchant getMerchById(String id) rn // TODO Auto-generated method stubrn return merchantDao.selectMerchant(id);rn rnrn @Overridern public int addMerchant(Merchant merch) rn // TODO Auto-generated method stubrn return merchantDao.insertMerchant(merch);rn rnrn @Overridern public int deleMerchant(String id) rn // TODO Auto-generated method stubrn return merchantDao.deleMerchant(id);rn rnrn[/code]rnrnrnrnrn[code=java] rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrn [/code]rnrn各位大佬,救救我这个小白吧,快疯了,多谢多谢
服务器启动报错
本人在做JSF小测试,不知道为什么,在联网的情况下,服务器tomcat正常启动,在断网的情况下,tomcat抛异常,异常如下:rnrn警告: Can't parse configuration file:jar:file:/D:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/JSF/WEB-INF/lib/jsf-facelets.jar!/META-INF/faces-config.xmlrnjava.net.UnknownHostException: java.sun.comrn at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)rn at java.net.Socket.connect(Socket.java:524)rn at java.net.Socket.connect(Socket.java:474)rn at sun.net.NetworkClient.doConnect(NetworkClient.java:157)rn at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)rn at sun.net.www.http.HttpClient.openServer(HttpClient.java:523)rn at sun.net.www.http.HttpClient.(HttpClient.java:231)rn at sun.net.www.http.HttpClient.New(HttpClient.java:304)rn at sun.net.www.http.HttpClient.New(HttpClient.java:321)rn at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:839)rn at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:791)rn at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:716)rn at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:960)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 org.apache.commons.digester.Digester.parse(Digester.java:1548)rn at com.sun.faces.config.ConfigureListener.parse(ConfigureListener.java:1182)rn at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)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:924)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:887)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)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:578)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:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2010-6-1 11:16:35 org.apache.catalina.core.StandardContext listenerStartrn严重: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListenerrnjavax.faces.FacesException: Can't parse configuration file:jar:file:/D:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/JSF/WEB-INF/lib/jsf-facelets.jar!/META-INF/faces-config.xmlrn at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:240)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)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:924)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:887)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)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:578)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:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: java.net.UnknownHostException: java.sun.comrn at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)rn at java.net.Socket.connect(Socket.java:524)rn at java.net.Socket.connect(Socket.java:474)rn at sun.net.NetworkClient.doConnect(NetworkClient.java:157)rn at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)rn at sun.net.www.http.HttpClient.openServer(HttpClient.java:523)rn at sun.net.www.http.HttpClient.(HttpClient.java:231)rn at sun.net.www.http.HttpClient.New(HttpClient.java:304)rn at sun.net.www.http.HttpClient.New(HttpClient.java:321)rn at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:839)rn at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:791)rn at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:716)rn at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:960)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 org.apache.commons.digester.Digester.parse(Digester.java:1548)rn at com.sun.faces.config.ConfigureListener.parse(ConfigureListener.java:1182)rn at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228)rn ... 24 morern2010-6-1 11:16:35 org.apache.catalina.core.StandardContext startrn严重: Error listenerStart
项目启动报错
问题解决,是重复生成代码导致的
maven下ssm框架,Tomcat启动报错!!!!!!
[color=#FF0000]错误内容:rn[org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from URL [file:src/main/resources/applicationContext.xml]rn[org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from URL [file:src/main/resources/spring-dao.xml]rn[org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from URL [file:src/main/resources/spring-db.xml]rn[org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from URL [file:src/main/resources/spring-tx.xml]rn[org.springframework.context.support.GenericApplicationContext] - Refreshing org.springframework.context.support.GenericApplicationContext@435914ac: startup date [Thu Aug 24 13:42:47 CST 2017]; root of context hierarchyrn[org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] - Loading properties file from class path resource [jdbc.properties]rn[org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor] - JSR-330 'javax.inject.Inject' annotation found and supported for autowiringrn[org.springframework.context.support.GenericApplicationContext] - Closing org.springframework.context.support.GenericApplicationContext@435914ac: startup date [Thu Aug 24 13:42:47 CST 2017]; root of context hierarchyrn[/color]
java ssm搭建tomcat启动报错
跪求大神们解答:rn目前用的jackson-core-asl-1.9.13.jar和jackson-mapper-asl-1.9.13.jarrnrnjava.lang.ClassNotFoundException: com.fasterxml.jackson.core.JsonProcessingExceptionrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)rn at java.lang.Class.getDeclaredMethods0(Native Method)rn at java.lang.Class.privateGetDeclaredMethods(Class.java:2436)rn at java.lang.Class.getDeclaredMethods(Class.java:1793)rn at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:609)rn at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:521)rn at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:507)rn at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor.java:241)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineConstructorsFromBeanPostProcessors(AbstractAutowireCapableBeanFactory.java:1069)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1042)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)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:197)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:838)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537)rn at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:667)rn at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:633)rn at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:681)rn at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:552)rn at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:493)rn at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)rn at javax.servlet.GenericServlet.init(GenericServlet.java:212)rn at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1213)rn at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)rn at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4425)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4738)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)rn at org.apache.catalina.core.StandardService.start(StandardService.java:525)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:595)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)
SSM框架项目启动报错:找不到实体类;求大神帮忙看看
Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring/spring-mybatis.xml]: Invocation of init method failed; rnnested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file[D:\projects\tools\apache-tomcat-8.5.30\webapps\lixin_web\WEB-INF\classes\mapper\jieshaoMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. rnCause: org.apache.ibatis.builder.BuilderException: Error resolving class.rnCause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.lixin.framework.beans.JieShao'. rnCause: java.lang.ClassNotFoundException: Cannot find class: com.lixin.framework.beans.JieShaornrn具体如下:rn严重: Exception sending context initialized event to listener instance of class [org.springframework.web.context.ContextLoaderListener]rnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring/spring-mybatis.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [D:\projects\tools\apache-tomcat-8.5.30\webapps\lixin_web\WEB-INF\classes\mapper\jieshaoMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.lixin.framework.beans.JieShao'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.lixin.framework.beans.JieShaorn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1702)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)rn at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:741)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:869)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)rn at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:409)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:291)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4776)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5240)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1421)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1411)rn at java.util.concurrent.FutureTask.run(FutureTask.java:266)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.core.NestedIOException: Failed to parse mapping resource: 'file [D:\projects\tools\apache-tomcat-8.5.30\webapps\lixin_web\WEB-INF\classes\mapper\jieshaoMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.lixin.framework.beans.JieShao'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.lixin.framework.beans.JieShaorn at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:523)rn at org.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:380)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1761)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1698)rn ... 21 morernCaused by: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.lixin.framework.beans.JieShao'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.lixin.framework.beans.JieShaorn at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:120)rn at org.apache.ibatis.builder.xml.XMLMapperBuilder.parse(XMLMapperBuilder.java:92)rn at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:521)rn ... 24 morernCaused by: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.lixin.framework.beans.JieShao'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.lixin.framework.beans.JieShaorn at org.apache.ibatis.builder.BaseBuilder.resolveClass(BaseBuilder.java:118)rn at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:265)rn at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:252)rn at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElements(XMLMapperBuilder.java:244)rn at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:116)rn ... 26 morernCaused by: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.lixin.framework.beans.JieShao'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.lixin.framework.beans.JieShaorn at org.apache.ibatis.type.TypeAliasRegistry.resolveAlias(TypeAliasRegistry.java:120)rn at org.apache.ibatis.builder.BaseBuilder.resolveAlias(BaseBuilder.java:149)rn at org.apache.ibatis.builder.BaseBuilder.resolveClass(BaseBuilder.java:116)rn ... 30 morernCaused by: java.lang.ClassNotFoundException: Cannot find class: com.lixin.framework.beans.JieShaorn at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:200)rn at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:89)rn at org.apache.ibatis.io.Resources.classForName(Resources.java:261)rn at org.apache.ibatis.type.TypeAliasRegistry.resolveAlias(TypeAliasRegistry.java:116)rn ... 32 morernrnrn这是我mybatis与spring的配置文件:rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn这是我springMVC的配置文件:rn rn rn rn rn rn rn rn rn rn rn rn rnrn看了网上其他的评论,我的service层注解都打上了,@autowired和@service,求大神帮忙解决一下。
ssm项目tomcat启动报错 难道是配置文件问题?
部分错误代码如下rn17:08:45.272 [localhost-startStop-1] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#3' of type [org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)rn17:08:47.059 [localhost-startStop-1] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'shiroCacheManager' of type [org.apache.shiro.cache.ehcache.EhCacheManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)rnrnrn17:08:47.178 [localhost-startStop-1] WARN org.springframework.web.context.support.XmlWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shiroFilter' defined in class path resource [security/applicationContext-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 class path resource [security/applicationContext-shiro.xml]: Cannot resolve reference to bean 'UserRealm' while setting bean property 'realm'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'UserRealm': Unsatisfied dependency expressed through field 'userInfoService'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class rnrn[org.apache.tomcat.dbcp.dbcp.BasicDataSource] for bean with name 'dataSourceAddress' defined in class path resource [datasources/applicationContext-mysql.xml]; nested exception is java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourcernRelated cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.apache.tomcat.dbcp.dbcp.BasicDataSource] for bean with name 'dataSourceAddress' defined in class path resource [datasources/applicationContext-mysql.xml]; nested exception is java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourcernRelated cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.apache.tomcat.dbcp.dbcp.BasicDataSource] for bean with name 'dataSourceWebCast' defined in class path resource [datasources/applicationContext-mysql.xml]; nested exception is java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourcernRelated cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.apache.tomcat.dbcp.dbcp.BasicDataSource] for bean with name 'dataSourcePay' defined in class path resource [datasources/applicationContext-mysql.xml]; nested exception is java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourcernRelated cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.apache.tomcat.dbcp.dbcp.BasicDataSource] for bean with name 'dataSourceOps' defined in class path resource [datasources/applicationContext-mysql.xml]; nested exception is java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourcernRelated cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.apache.tomcat.dbcp.dbcp.BasicDataSource] for bean with name 'dataSourceEducation' defined in class path resource [datasources/applicationContext-mysql.xml]; nested exception is java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourcernRelated cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.apache.tomcat.dbcp.dbcp.BasicDataSource] for bean with name 'dataSourceCrm' defined in class path resource [datasources/applicationContext-mysql.xml]; nested exception is java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourcernRelated cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.apache.tomcat.dbcp.dbcp.BasicDataSource] for bean with name 'dataSourceKnowledge' defined in class path resource [datasources/applicationContext-mysql.xml]; nested exception is java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourcernRelated cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.apache.tomcat.dbcp.dbcp.BasicDataSource] for bean with name 'dataSourceArticle' defined in class path resource [datasources/applicationContext-mysql.xml]; nested exception is java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSource
springboot项目启动报错
报错:新建的springboot项目,单击启动类报如下错误 原因: 这是因为添加了数据库组件,所以autoconfig会去读取数据源配置,而新建的项目还没有配置数据源,所以会导致异常出现。 解决办法: 第一种:去掉数据库依赖 第二种:在启动类上添加注解排除此依赖 在启动类的@SpringBootApplication中添加exclude= {DataSourceAutoCon...
springmvc项目启动报错
![图片说明](https://img-ask.csdn.net/upload/201604/09/1460185201_762639.png)n![图片说明](https://img-ask.csdn.net/upload/201604/09/1460185274_266859.png)nnn报错如上n我按照网上的方法清空了 好多缓存文件之列的 但是没有用啊!!n![图片说明](https://img-ask.csdn.net/upload/201604/09/1460185373_562895.png)n上图自动咋生成了 spring_mvc.xml文件呢?nn![图片说明](https://img-ask.csdn.net/upload/201604/09/1460185368_398861.png)![图片说明](https://img-ask.csdn.net/upload/201604/09/1460185385_152112.png)n![图片说明](https://img-ask.csdn.net/upload/201604/09/1460185460_28990.png)n![图片说明](https://img-ask.csdn.net/upload/201604/09/1460185478_306278.png)n![图片说明](https://img-ask.csdn.net/upload/201604/09/1460185495_110113.png)nn有没有知道的大神!!!
Spring项目启动报错
Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in class path resource [spring-config.xml]: Initialization of bean failed; nested excep
springboot项目第一次启动报错
最近,看了一下spring-boot,做了一个demo的工程,启动时居然报错,报错信息:Unregistering JMX-exposed beans on shutdown。 原来是新版本的spring-boot工程在建立的时,改变了依赖的jar包: 原来的依赖 org.springframework.boot spring-boot-starter-web
项目启动报错 maven问题
今天启动项目的时候,莫名其妙报了一个错误,明明昨天项目还是可以正常启动的,问题如下 问题比较明显,不能启动maven,maven最近还没有改变,配置是 maven配置的信息是一直这样的,那问题就是我d盘的maven文件的问题了,去看一下,发现它不见了,好吧,怪不得启动失败,在回收站找到了,不知道什么时候被我不小心删掉了,还原回来重新启动就成功了 提醒,回收站真的不要随便清,这样就...
项目启动报错 javax.servlet.http不存在
在pom文件中引入<dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId>        <scope>provided</scope></dependency>或者&
vue项目启动报错
vue启动报‘webpack-dev-server’不是内部或外部命令,也不是可运行的程序或批处理文件"首先删除node_modules文件夹,然后执行npm install命令,再执行npm run build,最后执行npm run dev命令,观察项目是否启动成功!...
ssh框架项目启动报错
[img=https://img-bbs.csdn.net/upload/201601/06/1452061642_290653.png][/img]
搭建一个SSM项目 配置xml问题导致启动报错
ssm项目整合(Spring+SpringMVC+Mybatis) 该项目实现的功能有 1.用户登录 2.新增用户信息 3.返回所有用户信息 4.更新用户信息 5删除用户信息 针对原文链接 https://blog.csdn.net/qq_23994787/article/details/73699149 存在问题解决方法: 1.web.xml 配置问题。 <conte...
tomcat 项目启动报错的解决方案
如果tomcat项目启动的时候报错,或者是启动不起来,那么目前我使用的解决方案是: 将工作空间的metedata文件删掉
Linux下Tomcat项目启动报错
Linux下Tomcat项目启动报错org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.bw.yun.service.impl.UserServiceImpl] for bean wi...
springboot 项目首次启动报错
rnError starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.rn[16:20:12.783] ERROR org.springframework.boot.SpringApplication 858 reportFailure - Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'enableRedisKeyspaceNotificationsInitializer' defined in class path resource [org/springframework/boot/autoconfigure/session/RedisSessionConfiguration$SpringBootRedisHttpSessionConfiguration.class]: Invocation of init method failed; nested exception is org.springframework.data.redis.RedisConnectionFailureException: Unable to connect to Redis; nested exception is io.lettuce.core.RedisConnectionException: Unable to connect to localhost:6379rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1762) ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]rn at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:849) ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877) ~[spring-context-5.1.5.RELEASE.jar:5.1.5.RELEASE]rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549) ~[spring-context-5.1.5.RELEASE.jar:5.1.5.RELEASE]rn at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142) ~[spring-boot-2.1.3.RELEASE.jar:2.1.3.RELEASE]rn at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) [spring-boot-2.1.3.RELEASE.jar:2.1.3.RELEASE]rn at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) [spring-boot-2.1.3.RELEASE.jar:2.1.3.RELEASE]rn at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) [spring-boot-2.1.3.RELEASE.jar:2.1.3.RELEASE]rn at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260) [spring-boot-2.1.3.RELEASE.jar:2.1.3.RELEASE]rn at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248) [spring-boot-2.1.3.RELEASE.jar:2.1.3.RELEASE]rn at com.chn.frameweb.FrameWebApplication.main(FrameWebApplication.java:33) [classes/:?]rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_77]rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_77]rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_77]rn at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_77]rn at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) [spring-boot-devtools-2.1.3.RELEASE.jar:2.1.3.RELEASE]rnCaused by: org.springframework.data.redis.RedisConnectionFailureException: Unable to connect to Redis; nested exception is io.lettuce.core.RedisConnectionException: Unable to connect to localhost:6379rn at org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory$SharedConnection.getNativeConnection(LettuceConnectionFactory.java:1092) ~[spring-data-redis-2.1.5.RELEASE.jar:2.1.5.RELEASE]rn at org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory$SharedConnection.getConnection(LettuceConnectionFactory.java:1065) ~[spring-data-redis-2.1.5.RELEASE.jar:2.1.5.RELEASE]rn at org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory.getSharedConnection(LettuceConnectionFactory.java:865) ~[spring-data-redis-2.1.5.RELEASE.jar:2.1.5.RELEASE]rn at org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory.getConnection(LettuceConnectionFactory.java:340) ~[spring-data-redis-2.1.5.RELEASE.jar:2.1.5.RELEASE]rn at org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration$EnableRedisKeyspaceNotificationsInitializer.afterPropertiesSet(RedisHttpSessionConfiguration.java:302) ~[spring-session-data-redis-2.1.4.RELEASE.jar:2.1.4.RELEASE]rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1821) ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1758) ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]rn ... 21 morernCaused by: io.lettuce.core.RedisConnectionException: Unable to connect to localhost:6379rn at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) ~[lettuce-core-5.1.4.RELEASE.jar:?]rn at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) ~[lettuce-core-5.1.4.RELEASE.jar:?]rn at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:234) ~[lettuce-core-5.1.4.RELEASE.jar:?]rn at io.lettuce.core.RedisClient.connect(RedisClient.java:204) ~[lettuce-core-5.1.4.RELEASE.jar:?]rn at org.springframework.data.redis.connection.lettuce.StandaloneConnectionProvider.lambda$getConnection$1(StandaloneConnectionProvider.java:113) ~[spring-data-redis-2.1.5.RELEASE.jar:2.1.5.RELEASE]rn at java.util.Optional.orElseGet(Optional.java:267) ~[?:1.8.0_77]rn at org.springframework.data.redis.connection.lettuce.StandaloneConnectionProvider.getConnection(StandaloneConnectionProvider.java:113) ~[spring-data-redis-2.1.5.RELEASE.jar:2.1.5.RELEASE]rn at org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory$SharedConnection.getNativeConnection(LettuceConnectionFactory.java:1085) ~[spring-data-redis-2.1.5.RELEASE.jar:2.1.5.RELEASE]rn at org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory$SharedConnection.getConnection(LettuceConnectionFactory.java:1065) ~[spring-data-redis-2.1.5.RELEASE.jar:2.1.5.RELEASE]rn at org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory.getSharedConnection(LettuceConnectionFactory.java:865) ~[spring-data-redis-2.1.5.RELEASE.jar:2.1.5.RELEASE]rn at org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory.getConnection(LettuceConnectionFactory.java:340) ~[spring-data-redis-2.1.5.RELEASE.jar:2.1.5.RELEASE]rn at org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration$EnableRedisKeyspaceNotificationsInitializer.afterPropertiesSet(RedisHttpSessionConfiguration.java:302) ~[spring-session-data-redis-2.1.4.RELEASE.jar:2.1.4.RELEASE]rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1821) ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1758) ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]rn ... 21 morernCaused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/127.0.0.1:6379rn at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[?:1.8.0_77]rn at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) ~[?:1.8.0_77]rn at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:327) ~[netty-transport-4.1.33.Final.jar:4.1.33.Final]rn at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340) ~[netty-transport-4.1.33.Final.jar:4.1.33.Final]rn at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:665) ~[netty-transport-4.1.33.Final.jar:4.1.33.Final]rn at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:612) ~[netty-transport-4.1.33.Final.jar:4.1.33.Final]rn at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:529) ~[netty-transport-4.1.33.Final.jar:4.1.33.Final]rn at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:491) ~[netty-transport-4.1.33.Final.jar:4.1.33.Final]rn at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905) ~[netty-common-4.1.33.Final.jar:4.1.33.Final]rn at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.33.Final.jar:4.1.33.Final]rn at java.lang.Thread.run(Thread.java:745) ~[?:1.8.0_77]rnCaused by: java.net.ConnectException: Connection refused: no further informationrn at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[?:1.8.0_77]rn at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) ~[?:1.8.0_77]rn at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:327) ~[netty-transport-4.1.33.Final.jar:4.1.33.Final]rn at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340) ~[netty-transport-4.1.33.Final.jar:4.1.33.Final]rn at io.netty.channel.nio.NioEventLoop.processSelect
android项目启动报错
09-15 10:29:52.113: D/ActivityThread(26983): setTargetHeapUtilization:0.25rn09-15 10:29:52.113: D/ActivityThread(26983): setTargetHeapIdealFree:8388608rn09-15 10:29:52.113: D/ActivityThread(26983): setTargetHeapConcurrentStart:2097152rn09-15 10:29:52.334: V/tiandituSDK(26983): tianditu android sdk 2.1.1rn09-15 10:29:52.334: E/dalvikvm(26983): threadid=11: created from interp,name=SharedPreferencesImpl-loadrn09-15 10:29:52.334: E/dalvikvm(26983): threadid=11: calling run(),name=SharedPreferencesImpl-loadrn09-15 10:29:52.344: E/dalvikvm(26983): threadid=11: exiting,name=SharedPreferencesImpl-loadrn09-15 10:29:52.344: E/dalvikvm(26983): threadid=11: created from interp,name=SharedPreferencesImpl-loadrn09-15 10:29:52.344: E/dalvikvm(26983): threadid=11: calling run(),name=SharedPreferencesImpl-loadrn09-15 10:29:52.344: E/dalvikvm(26983): threadid=11: exiting,name=SharedPreferencesImpl-loadrn09-15 10:29:52.344: E/dalvikvm(26983): threadid=12: created from interp,name=Timer-0rn09-15 10:29:52.344: E/dalvikvm(26983): threadid=12: calling run(),name=Timer-0rn09-15 10:29:52.344: E/dalvikvm(26983): threadid=11: created from interp,name=Timer-1rn09-15 10:29:52.344: E/dalvikvm(26983): threadid=11: calling run(),name=Timer-1rn09-15 10:29:52.344: I/tianditu(26983): GetMapCenter dx = 116.40rn09-15 10:29:52.344: I/tianditu(26983): GetMapCenter dy = 39.90rn09-15 10:29:52.344: I/tianditu(26983): GetMapCenter iScale = 12rn09-15 10:29:52.354: I/tianditu(26983): GetMapCenter dx = 116.40rn09-15 10:29:52.354: I/tianditu(26983): GetMapCenter dy = 39.90rn09-15 10:29:52.354: I/tianditu(26983): GetMapCenter iScale = 12rn09-15 10:29:52.404: E/dalvikvm(26983): threadid=13: created from interp,name=Thread-1126rn09-15 10:29:52.404: E/dalvikvm(26983): threadid=13: calling run(),name=Thread-1126rn09-15 10:29:52.484: E/dalvikvm(26983): threadid=14: created from interp,name=android.hardware.SystemSensorManager$SensorThreadrn09-15 10:29:52.484: E/dalvikvm(26983): threadid=14: calling run(),name=android.hardware.SystemSensorManager$SensorThreadrn09-15 10:29:52.514: W/System.err(26983): java.lang.IllegalArgumentExceptionrn09-15 10:29:52.514: W/System.err(26983): at org.kxml2.io.KXmlParser.setInput(KXmlParser.java:1615)rn09-15 10:29:52.514: W/System.err(26983): at com.tianditu.android.b.d.d(MapLayer.java:386)rn09-15 10:29:52.514: W/System.err(26983): at com.tianditu.android.b.d.a(MapLayer.java:373)rn09-15 10:29:52.514: W/System.err(26983): at com.tianditu.android.b.e.handleMessage(MapLayer.java:244)rn09-15 10:29:52.514: W/System.err(26983): at android.os.Handler.dispatchMessage(Handler.java:99)rn09-15 10:29:52.514: W/System.err(26983): at com.tianditu.android.b.d$1.run(MapLayer.java:480)rn09-15 10:29:52.514: W/System.err(26983): at java.lang.Thread.run(Thread.java:856)rn09-15 10:29:52.514: E/dalvikvm(26983): threadid=13: exiting,name=Thread-1126rn09-15 10:29:52.694: I/locatPoint(26983): mMyLocation.getMyLocation():119307576,26076310rn09-15 10:29:52.754: E/dalvikvm(26983): threadid=13: created from interp,name=Timer-2rn09-15 10:29:52.754: E/dalvikvm(26983): threadid=13: calling run(),name=Timer-2rn09-15 10:29:52.764: E/dalvikvm(26983): threadid=15: created from interp,name=Thread-1129rn09-15 10:29:52.774: E/dalvikvm(26983): threadid=15: calling run(),name=Thread-1129rn09-15 10:29:52.854: V/suxiangkui(26983): Couldn't load MapEngine: findLibrary returned nullrn09-15 10:29:52.854: W/dalvikvm(26983): No implementation found for native Lcom/tianditu/maps/AndroidJni;.initcallback:(Ljava/lang/Object;Landroid/graphics/Bitmap;)Irn09-15 10:29:52.854: W/dalvikvm(26983): threadid=1: thread exiting with uncaught exception (group=0x41b08498)rn09-15 10:29:52.854: E/AndroidRuntime(26983): FATAL EXCEPTION: mainrn09-15 10:29:52.854: E/AndroidRuntime(26983): java.lang.UnsatisfiedLinkError: Native method not found: com.tianditu.maps.AndroidJni.initcallback:(Ljava/lang/Object;Landroid/graphics/Bitmap;)Irn09-15 10:29:52.854: E/AndroidRuntime(26983): at com.tianditu.maps.AndroidJni.initcallback(Native Method)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at com.tianditu.maps.VecMapView.InitMapView(VecMapView.java:125)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at com.tianditu.android.b.l.onSizeChanged(TileView.java:275)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.view.View.setFrame(View.java:13959)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.view.View.layout(View.java:13871)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at com.tianditu.android.maps.MapView.onLayout(MapView.java:358)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.view.View.layout(View.java:13873)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.view.ViewGroup.layout(ViewGroup.java:4498)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1649)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1507)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.widget.LinearLayout.onLayout(LinearLayout.java:1420)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.view.View.layout(View.java:13873)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.view.ViewGroup.layout(ViewGroup.java:4498)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.widget.FrameLayout.onLayout(FrameLayout.java:448)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.view.View.layout(View.java:13873)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.view.ViewGroup.layout(ViewGroup.java:4498)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.widget.FrameLayout.onLayout(FrameLayout.java:448)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.view.View.layout(View.java:13873)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.view.ViewGroup.layout(ViewGroup.java:4498)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1649)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1507)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.widget.LinearLayout.onLayout(LinearLayout.java:1420)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.view.View.layout(View.java:13873)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.view.ViewGroup.layout(ViewGroup.java:4498)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.widget.FrameLayout.onLayout(FrameLayout.java:448)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.view.View.layout(View.java:13873)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.view.ViewGroup.layout(ViewGroup.java:4498)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:1940)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1761)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1070)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4296)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:725)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.view.Choreographer.doCallbacks(Choreographer.java:555)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.view.Choreographer.doFrame(Choreographer.java:525)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:711)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.os.Handler.handleCallback(Handler.java:615)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.os.Handler.dispatchMessage(Handler.java:92)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.os.Looper.loop(Looper.java:137)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at android.app.ActivityThread.main(ActivityThread.java:4897)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at java.lang.reflect.Method.invokeNative(Native Method)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at java.lang.reflect.Method.invoke(Method.java:511)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:808)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:575)rn09-15 10:29:52.854: E/AndroidRuntime(26983): at dalvik.system.NativeStart.main(Native Method)rnrnrnrnlogcat上述内容,请问问题在哪
spring mvc项目启动报错
spring mvc 项目启动时候报这个错误rnjava.lang.NoSuchMethodError: org.springframework.web.context.support.XmlWebApplicationContext.getEnvironment()rnrnweb.xml的部分代码如下 rn[code=text] rn contextConfigLocation rn classpath*:config/beans.xml rn rn rn rn org.springframework.web.context.ContextLoaderListener rn rn rn org.springframework.web.context.ContextCleanupListener rn rn rn rn spring-mvc rn org.springframework.web.servlet.DispatcherServlet rn 1 rn rn rn spring-mvc rn / rn [/code] rnrnbeans.xml代码如下rn[code=text] rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn [/code]rnrn具体使用的jar包截图rn[img=https://img-bbs.csdn.net/upload/201409/01/1409555500_166122.png][/img]rnrn不知道是我引用的哪个包版本有问题,还是相关的xml文件配置写错了,求正解
eclipse项目启动报错tomcat
解决办法: (1)双击你的项目server (2)设置timeouts的值更大 (3)点击保存,重新启动项目就oK
linux-项目启动报错之一
部署项目的uat环境,服务器 地址 10.143.32.19 项目部署完毕,tomcat配置完毕,项目启动总是报错 连接不到数据库: 然后在服务器上测试网络与端口: 可以ping通,说明网络没问题; 但Telnet不通,说明端口有问题,  结论:应该是 10.151.15.100服务器开了防火墙,或者对10.143.32.19没有授权
ssh整合项目启动报错
这个错误整了我好久,我也是刚刚入门,复制了以前的代码,运行不出来了,然后找了一些资料,发现这个问题,,,
Tomcat启动报错项目
原因:原来tomcat在E盘,我直接复制到了D盘,需要删除Eclipse中的tomcat,重新配置一次
J2EE项目启动报错
login.jsp 包含 taglibs.jsprn taglibs.jsp引入JSTL标签rn<%@ page pageEncoding="UTF-8"%>rn<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>rn<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>rn<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>rn<%@ taglib prefix="jodd" uri="/app/jodd"%>rn<%@ taglib prefix="ec" uri="http://www.extremecomponents.org"%>rn但是部署在TOMCAT下启动报错:rn严重: Servlet.service() for servlet jsp threw exceptionrnorg.apache.jasper.JasperException: /login.jsp(6,0) /include/taglibs.jsp(2,62) Unable to read TLD "META-INF/fmt.tld" from JAR file "file:/D:/devtools/MyEclipse%202015%20CI/Workspaces/crm/web/WEB-INF/lib/standard.jar": org.apache.jasper.JasperException: Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlFmtTLVrn at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)rn at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)rn at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:88)rn at org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:300)rn at org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:333)rn at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:442)rn at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1399)rn at org.apache.jasper.compiler.Parser.parse(Parser.java:130)rn at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:255)rn at org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)rn at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:185)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:321)rn at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.extremecomponents.table.filter.AbstractExportFilter.doFilter(Unknown Source)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)rn at java.lang.Thread.run(Thread.java:662)rn
SSH框架项目启动报错
2013-4-10 18:12:38 org.apache.catalina.core.AprLifecycleListener initrn信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Myeclipse\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;D:\Myeclipse\plugins\com.genuitec.eclipse.easie.tomcat.myeclipse_8.5.0.me201003121946\tomcat\binrn2013-4-10 18:12:38 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2013-4-10 18:12:38 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 346 msrn2013-4-10 18:12:38 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2013-4-10 18:12:38 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.13rnlog4j:WARN No appenders could be found for logger (org.displaytag.filter.ResponseOverrideFilter).rnlog4j:WARN Please initialize the log4j system properly.rnlog4j:WARN No appenders could be found for logger (com.opensymphony.xwork2.config.providers.XmlConfigurationProvider).rnlog4j:WARN Please initialize the log4j system properly.rn2013-4-10 18:12:40 org.apache.catalina.core.StandardContext filterStartrn严重: Exception starting filter struts2rnUnable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/D:/DZY/.metadata/.me_tcat/webapps/message/WEB-INF/lib/struts2-core-2.3.12.jar!/struts-default.xml:29:72rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:208)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:131)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:201)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3693)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4340)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: Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork has already been loaded by bean - jar:file:/D:/DZY/.metadata/.me_tcat/webapps/message/WEB-INF/lib/struts2-core-2.0.8.jar!/struts-default.xml:8:72 - bean - jar:file:/D:/DZY/.metadata/.me_tcat/webapps/message/WEB-INF/lib/struts2-core-2.3.12.jar!/struts-default.xml:29:72rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:193)rn ... 33 morern2013-4-10 18:12:40 org.apache.catalina.core.StandardContext startrn严重: Error filterStartrn2013-4-10 18:12:40 org.apache.catalina.core.StandardContext startrn严重: Context [/message] startup failed due to previous errorsrn2013-4-10 18:12:41 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2013-4-10 18:12:41 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2013-4-10 18:12:41 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/21 config=nullrn2013-4-10 18:12:41 org.apache.catalina.startup.Catalina startrn信息: Server startup in 2904 msrn
相关热词 c++和c#哪个就业率高 c# 批量动态创建控件 c# 模块和程序集的区别 c# gmap 截图 c# 验证码图片生成类 c# 再次尝试 连接失败 c#开发编写规范 c# 压缩图片好麻烦 c#计算数组中的平均值 c#获取路由参数