我是2.3.7到2.3.9的更新grails,它有错误
执行脚本RunApp时出错:org/codehaus/groovy/runtime/typehandling/ShortTypeHandling.
这是run-app --stacktrace --verbose:
|加载Grails 2.3.9
|配置类路径
.
|环境设置为开发
.................................
|包装Grails应用程序
...........
|编译1个源文件
[groovyc]将1个源文件编译为Z:\ future13_grails\cerp\target\classes
.....................................错误
|
执行脚本RunApp时出错:org/codehaus/groovy/runtime/typehandling/ShortTypeHandling
java.lang.NoClassDefFoundError:org/codehaus/groovy/runtime/typehandling/ShortTypeHandling
在org.grails.plugins.tomcat.TomcatServer.(TomcatServer.groovy:81)
在org.grails.plugins.tomcat.InlineExplodedTomcatServer.(InlineExplodedTomcatServer.groovy)
在org.grails.plugins.tomcat.TomcatServerFactory.createInline(TomcatServerFactory.groovy:38)
在org.codehaus.groovy.grails.project.container.GrailsProjectRunner.runInline(GrailsProjectRunner.groovy:183)
org.codehaus.groovy.grails.project.container.GrailsProjectRunner.runApp(GrailsProjectRunner.groovy:119)at org.codehaus.groovy.grails.project.container.GrailsProjectRunner $ runApp $ 0.call(Unknown Source)
在org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
在org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
...
错误| 执行脚本RunApp时出错:org/codehaus/groovy/runtime/typehandling/ShortTypeHandling
这是BuildConfig.groovy
... plugins {//仅用于构建系统的插件':tomcat:7.0.52.1'
Run Code Online (Sandbox Code Playgroud)// plugins for the compile step compile ':scaffolding:2.0.3' compile ':cache:1.1.1' compile ":spring-security-core:2.0-RC2" compile ":searchable:0.6.6" // plugins needed at runtime but not for compilation runtime ':hibernate:3.6.10.15' // ':hibernate4:4.3.5.3' for Hibernate 4 runtime ':database-migration:1.4.0' runtime ":jquery:1.10.2" runtime ':resources:1.2.8' // Uncomment these (or add new ones) to enable additional resources capabilities //runtime ":zipped-resources:1.0.1" //runtime ":cached-resources:1.1" //runtime ":yui-minify-resources:0.1.5" runtime ":cors:1.1.2" } ...
| 归档时间: |
|
| 查看次数: |
3320 次 |
| 最近记录: |