求助grails问题,谢谢
初学groovy,用myeclipse搭建了个grails环境,老项目导入,可是运行时报以下错误:RunningscriptC:\Grails121\scripts\Ru...
初学groovy,用myeclipse搭建了个grails环境,老项目导入,可是运行时报以下错误:
Running script C:\Grails121\scripts\RunApp.groovy
Environment set to development
[groovyc] Compiling 1 source file to D:\MyEclipse86\Workspaces\audi\target\classes
Error executing script RunApp: the number of constructors during runtime and compile time for java.lang.ClassLoader do not match. Expected 2 but got 3
java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.ClassLoader do not match. Expected 2 but got 3
at org.grails.tomcat.ParentDelegatingClassLoader.<init>(TomcatServer.groovy:316)
at org.grails.tomcat.TomcatLoader.<init>(TomcatServer.groovy:252)
at org.grails.tomcat.TomcatServer.<init>(TomcatServer.groovy:68)
at org.grails.tomcat.TomcatServerFactory.createInline(TomcatServerFactory.groovy:8)
at _GrailsRun_groovy.runInline(_GrailsRun_groovy:114)
at _GrailsRun_groovy.this$4$runInline(_GrailsRun_groovy)
at _GrailsRun_groovy$_run_closure1.doCall(_GrailsRun_groovy:59)
at RunApp$_run_closure1.doCall(RunApp.groovy:33)
at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324)
at gant.Gant$_dispatch_closure6.doCall(Gant.groovy:334)
at gant.Gant$_dispatch_closure6.doCall(Gant.groovy)
at gant.Gant.withBuildListeners(Gant.groovy:344)
at gant.Gant.this$2$withBuildListeners(Gant.groovy)
at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
at gant.Gant.dispatch(Gant.groovy:334)
at gant.Gant.this$2$dispatch(Gant.groovy)
at gant.Gant.invokeMethod(Gant.groovy)
at gant.Gant.processTargets(Gant.groovy:495)
at gant.Gant.processTargets(Gant.groovy:480)
Error executing script RunApp: the number of constructors during runtime and compile time for java.lang.ClassLoader do not match. Expected 2 but got 3
是什么问题,怎么着手解决
MyEclipse8.6
JDK6.0
Groovy1.7.0
Grails1.2.1 展开
Running script C:\Grails121\scripts\RunApp.groovy
Environment set to development
[groovyc] Compiling 1 source file to D:\MyEclipse86\Workspaces\audi\target\classes
Error executing script RunApp: the number of constructors during runtime and compile time for java.lang.ClassLoader do not match. Expected 2 but got 3
java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.ClassLoader do not match. Expected 2 but got 3
at org.grails.tomcat.ParentDelegatingClassLoader.<init>(TomcatServer.groovy:316)
at org.grails.tomcat.TomcatLoader.<init>(TomcatServer.groovy:252)
at org.grails.tomcat.TomcatServer.<init>(TomcatServer.groovy:68)
at org.grails.tomcat.TomcatServerFactory.createInline(TomcatServerFactory.groovy:8)
at _GrailsRun_groovy.runInline(_GrailsRun_groovy:114)
at _GrailsRun_groovy.this$4$runInline(_GrailsRun_groovy)
at _GrailsRun_groovy$_run_closure1.doCall(_GrailsRun_groovy:59)
at RunApp$_run_closure1.doCall(RunApp.groovy:33)
at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324)
at gant.Gant$_dispatch_closure6.doCall(Gant.groovy:334)
at gant.Gant$_dispatch_closure6.doCall(Gant.groovy)
at gant.Gant.withBuildListeners(Gant.groovy:344)
at gant.Gant.this$2$withBuildListeners(Gant.groovy)
at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
at gant.Gant.dispatch(Gant.groovy:334)
at gant.Gant.this$2$dispatch(Gant.groovy)
at gant.Gant.invokeMethod(Gant.groovy)
at gant.Gant.processTargets(Gant.groovy:495)
at gant.Gant.processTargets(Gant.groovy:480)
Error executing script RunApp: the number of constructors during runtime and compile time for java.lang.ClassLoader do not match. Expected 2 but got 3
是什么问题,怎么着手解决
MyEclipse8.6
JDK6.0
Groovy1.7.0
Grails1.2.1 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
您可能需要的服务
百度律临官方认证律师咨询
平均3分钟响应
|
问题解决率99%
|
24小时在线
立即免费咨询律师
10149人正在获得一对一解答
苏州天空之城3分钟前提交了问题
长沙森林舞者2分钟前提交了问题
石家庄麦田守望1分钟前提交了问题