Update to 2.3.9 - Error executing RunApp script: org / codehaus / groovy / runtime / typehandling / ShortTypeHandling

I am updating grails from 2.3.7 to 2.3.9 and have an error

Error executing script RunApp: org / Codehaus / groovy / runtime / typehandling / ShortTypeHandling.

Here is the run-app --stacktrace --verbose:

| Download Grails 2.3.9

| Setting the class path

.

| Development Environment

.................................

| Grails app packaging

...........

| Compilation of 1 source files

[groovyc] Compiling 1 source file in Z: \ future13_grails \ CERP \ target \ classes

..................................... Error

|

Error executing script 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) org.codehaus.groovy.grails.project.container.GrailsProjectRunner $runApp $0.call( )

org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)

org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)

...

| script RunApp: /Codehaus/groovy//typehandling/ShortTypeHandling

BuildConfig.groovy

... {         //         build ': tomcat: 7.0.52.1'

    // 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"
} ...
+5
3

grails, .

+6

Groovy ShortTypeHandling ClassNotFoundException.

, Grails 2.4.0 ( Groovy 2.3.*).

0

, clean compile, .

0

Source: https://habr.com/ru/post/1543003/


All Articles