关注JEECG发展历程 关注最新动态和版本, 记录JEECG成长点滴 更新日志 - 技术支持 - 招聘英才

JEECG最新版本下载 JEECG智能开发平台 - 显著提高开发效率 常见问题 - 入门视频 - 参与开源团队

商务QQ: 69893005、418799587 商务热线(5*8小时): 010-64808099 官方邮箱: jeecgos@163.com

查看: 12726|回复: 3

在启动tomcat时,报No bean named 'systemService' is defined

[复制链接]
发表于 2014-7-23 11:07:10 | 显示全部楼层 |阅读模式
我的系统环境是:MyEclipse2014 +jdk1.7.0_21+apache-tomcat-7.0.42
[org.springframework.beans.factory.support.DefaultListableBeanFactory]Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@71107d1d: defining beans []; root of factory hierarchy
[org.springframework.web.context.ContextLoader]Root WebApplicationContext: initialization completed in 224 ms
七月 23, 2014 11:03:12 上午 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.jeecgframework.web.system.listener.InitListener
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'systemService' is defined
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:529)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1095)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:277)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1093)
        at org.jeecgframework.web.system.listener.InitListener.contextInitialized(InitListener.java:28)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1113)
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1671)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:722)
七月 23, 2014 11:03:12 上午 org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
七月 23, 2014 11:03:12 上午 org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/jeewx] startup failed due to previous errors
七月 23, 2014 11:03:12 上午 org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
[org.springframework.web.context.support.XmlWebApplicationContext]Closing Root WebApplicationContext: startup date [Wed Jul 23 11:03:11 CST 2014]; root of context hierarchy
[org.springframework.beans.factory.support.DefaultListableBeanFactory]Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@71107d1d: defining beans []; root of factory hierarchy
七月 23, 2014 11:03:12 上午 org.apache.catalina.core.ApplicationContext log

发表于 2014-8-17 23:46:05 | 显示全部楼层
解决办法:找个tomat6。将其lib包下的jasper.jar--》org-->apache目录下的AnnotationProcess.class复制到tomcat7中对应的路径下即可。原因是tomcat7.x中去除了这个类。希望能帮到你。
发表于 2014-9-4 14:10:39 | 显示全部楼层
路过学习
 楼主| 发表于 2014-11-13 14:08:47 | 显示全部楼层
olafo7 发表于 2014-8-17 23:46
解决办法:找个tomat6。将其lib包下的jasper.jar--》org-->apache目录下的AnnotationProcess.class复制到to ...

好像换成tomcat6就可以正常启动了
非常感谢你
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表