console中报错:
Caused by: org.ofbiz.base.util.GeneralException: Error loading Groovy script at [component://zxdoc/webapp/zxdoc/WEB-INF/actions/index/PrepareBrowserInfo.groovy]: (startup failed:
component://zxdoc/webapp/zxdoc/WEB-INF/actions/index/PrepareBrowserInfo.groovy: 4: A transform used a generics containing ClassNode org.ofbiz.service.engine.GroovyBaseScript for the super class PrepareBrowserInfo directly. You are not supposed to do this. Please create a new ClassNode referring to the old ClassNode and use the new ClassNode instead of the old one. Otherwise the compiler will create wrong descriptors and a potential NullPointerException in TypeResolver in the OpenJDK. If this is not your own doing, please report this bug to the writer of the transform.
翻译:转换使用包含ClassNode org.ofbiz.service.engine的泛型。直接为超级类PrepareBrowserInfo编写GroovyBaseScript。你不应该这么做。请创建一个引用旧类节点的新类节点,并使用新类节点代替旧类节点。否则编译器将在OpenJDK的TypeResolver中创建错误的描述符和潜在的NullPointerException。如果这不是您自己做的,请将此错误报告给转换的作者。
@ line 4, column 1.
UserAgent ua = UserAgent.parseUserAgentString(request.getHeader("User-Agent"));
problems报错:
Description Resource Path Location Type
Multiple Groovy compilers found on classpath. Continuing with compilation will produce unpredictible results. Remove a compiler before continuing.
Found 2.2 and 2.5 ofbiz-release14.12 ofbiz-release14.12 Groovy compiler mismatch problem