Ich stelle einen Krieg mit "Grails War" auf einem Anlegestegserver bereit.Grails IncompatibleClassChangeError
Soweit ich feststellen kann, baut Grails mit Sun JDK 1.6.0_17-b04 und Jetty läuft auf Sun JDK 1.6.0.16 (beide unter Linux).
2010-08-18 07:33:47.018:WARN::Nested in org.springframework.beans.factory.access.BootstrapException: Error executing bootstraps; nested exception is org.codehaus.groovy.runtime.InvokerInvocationException:
java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.ClassLoader do not match. Expected 3 but got 2:
java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.ClassLoader do not match. Expected 3 but got 2
at grails.plugin.scopedproxy.AlwaysReloadableSmartClassLoader.<init>(AlwaysReloadableSmartClassLoader.groovy:28)
at grails.plugin.scopedproxy.ScopedProxyUtils.wrapInSmartClassLoader(ScopedProxyUtils.groovy:154)
Wie kann dieses Problem weiter gelöst oder behoben werden?
sauber half mir auch. In meinem Fall war es ein Versionskonflikt. passierte nur beim Debuggen. –
immer wenn ich das gesehen habe, habe ich es auch durch Grails sauber gemacht –