"grails war"로 만든 전쟁을 부두 서버에 배포합니다.Grails IncompatibleClassChangeError
내가 알 수있는 한, Grails는 Sun JDK 1.6.0_17-b04로 빌드하고 부두는 Sun JDK 1.6.0.16 (모두 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)
어떻게이 문제를 해결하거나 더 디버깅 할 수 있습니까?
도 도움이되었습니다. 제 경우에는 버전 충돌이었습니다. 디버깅 할 때만 발생했습니다. –
언제든지 이걸 보았고, grails clean을 통해서도 고쳤습니다. –