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

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

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

查看: 18588|回复: 6

[环境搭建] 新手导入后运行报错,请高手指导,非常感谢!

[复制链接]
发表于 2013-10-31 15:58:05 | 显示全部楼层 |阅读模式
新手导入jeecg-v3-simple后运行报错,请高手指导,非常感谢!
环境为myeclipse7+jdk1.6+tomcat7 + win7 64位

ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/jeecg-v3-simple]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
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:1114)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1672)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NoClassDefFoundError: Lorg/apache/AnnotationProcessor;
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
at java.lang.Class.getDeclaredFields(Class.java:1743)
at org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:106)
at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:261)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationServletAnnotations(WebAnnotationSet.java:140)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:67)
at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:405)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:881)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:369)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5269)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 11 more
Caused by: java.lang.ClassNotFoundException: org.apache.AnnotationProcessor
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 25 more
2013-10-31 15:51:46 org.apache.catalina.startup.HostConfig deployDirectory
严重: Error deploying web application directory C:\apache-tomcat-7.0.42\webapps\jeecg-v3-simple
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/jeecg-v3-simple]]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904)
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:1114)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1672)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
2013-10-31 15:51:46 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory C:\apache-tomcat-7.0.42\webapps\manager
2013-10-31 15:51:46 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory C:\apache-tomcat-7.0.42\webapps\ROOT
2013-10-31 15:51:46 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-apr-8080"]
2013-10-31 15:51:46 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-apr-8009"]
2013-10-31 15:51:46 org.apache.catalina.startup.Catalina start
信息: Server startup in 8233 ms
发表于 2013-10-31 22:26:40 | 显示全部楼层
采用tomcat6 试试
 楼主| 发表于 2013-11-1 17:33:23 | 显示全部楼层
本帖最后由 timesheet 于 2013-11-1 17:34 编辑

web项目已经跑起来了,但代码生成器不行!
现在是比着教程 《JEECG_v3开发指南v3.3.pdf》仍然配置不通!跑不起来,主要是1、 没有pom.xml文件(论坛下载了仍然不行),2、 Maven可能与教程的版本不一样,找不到对应菜单,因为无法跑起来,自己新建一个Maven项目,运行直接报错  can't find main class
请高手指点!
谢谢
发表于 2013-11-4 11:01:52 | 显示全部楼层
换成tomcat6吧
发表于 2013-11-5 08:29:41 | 显示全部楼层
timesheet 发表于 2013-11-1 17:33
web项目已经跑起来了,但代码生成器不行!
现在是比着教程 《JEECG_v3开发指南v3.3.pdf》仍然配置不通!跑不 ...

可以采用myeclipse
发表于 2013-11-5 08:29:44 | 显示全部楼层
timesheet 发表于 2013-11-1 17:33
web项目已经跑起来了,但代码生成器不行!
现在是比着教程 《JEECG_v3开发指南v3.3.pdf》仍然配置不通!跑不 ...

可以采用myeclipse
发表于 2013-11-5 08:29:49 | 显示全部楼层
timesheet 发表于 2013-11-1 17:33
web项目已经跑起来了,但代码生成器不行!
现在是比着教程 《JEECG_v3开发指南v3.3.pdf》仍然配置不通!跑不 ...

可以采用myeclipse
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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