我使用 Weblogic 作为我的应用服务器。我部署了一个分解的战争文件。我可以成功访问该应用程序。
但是当我尝试保存特定的编辑时。我遇到这个错误
Root cause of ServletException.
java.lang.IllegalAccessError: tried to access class **org.mozilla.javascript.DefaultErrorReporter** from class org.`mozilla.javascript.CompilerEnvirons
at org.mozilla.javascript.CompilerEnvirons.<init>(CompilerEnvirons.java:48)
at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:310)
at com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScriptCompressor.java:533)
at com.hof.mi.web.action.CompressorAction$1.A(CompressorAction.java:95)
at com.hof.mi.web.action.CompressorAction.A(CompressorAction.java:165)
at com.hof.mi.web.action.CompressorAction.combineAndcompressJSFiles(CompressorAction.java:129)
at com.hof.mi.web.action.FiltersJSAPIAction.execute(FiltersJSAPIAction.java:65)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
谢谢!