Tôi triển khai một cuộc chiến được thực hiện với "chiến tranh grails" đến một máy chủ cầu cảng.Grails IncompatibleClassChangeError
Theo như tôi có thể xác định, Grails xây dựng với Sun JDK 1.6.0_17-b04 và cầu tàu chạy trên Sun JDK 1.6.0.16 (cả trên 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)
Làm cách nào để giải quyết hoặc khắc phục sự cố này?
cũng đã giúp tôi. đó là một phiên bản xung đột trong trường hợp của tôi. chỉ xảy ra khi gỡ lỗi. –
bất cứ khi nào tôi nhìn thấy điều này, tôi cũng đã cố định nó thông qua các grails sạch –