java.lang.Exception

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • There are some problems static-compiling 3.0.3 JSPs with Weblogic 7.0sp4: weblogic.precompile: Precompiling JSPs (use -Dskip.precompile=true to skip)... Error: [jspc]: 1 file(s) failed: /500page.jsp Exception in thread "main" [Compilation errors : ] /home/devuser/atlassian-jira-enterprise-3.0.3/tmp/build/weblogic/WEB-INF/classes/jsp_servlet/__500page.java:388: cannot resolve symbol symbol : method getLevel () location: class org.apache.log4j.spi.LoggingEvent out.print(String.valueOf( loggingEvent.getLevel() )); //[ /500page.jsp; Line: 185] ^ /home/devuser/atlassian-jira-enterprise-3.0.3/tmp/build/weblogic/WEB-INF/classes/jsp_servlet/__500page.java:392: cannot resolve symbol symbol : method getLoggerName () location: class org.apache.log4j.spi.LoggingEvent out.print(String.valueOf( loggingEvent.getLoggerName() )); //[ /500page.jsp; Line: 187] ^ 2 errors at weblogic.jspc.doCompile(jspc.java:833) at weblogic.jspc.runJspc(jspc.java:626) at weblogic.jspc.runBodyInternal(jspc.java:409) at weblogic.jspc.runBody(jspc.java:318) at weblogic.utils.compiler.Tool.run(Tool.java:146) at weblogic.utils.compiler.Tool.run(Tool.java:103) at weblogic.jspc.main(jspc.java:702) java.lang.Exception: [Compilation errors : ] /home/devuser/atlassian-jira-enterprise-3.0.3/tmp/build/weblogic/WEB-INF/classes/jsp_servlet/__500page.java:388: cannot resolve symbol symbol : method getLevel () location: class org.apache.log4j.spi.LoggingEvent out.print(String.valueOf( loggingEvent.getLevel() )); //[ /500page.jsp; Line: 185] ^ /home/devuser/atlassian-jira-enterprise-3.0.3/tmp/build/weblogic/WEB-INF/classes/jsp_servlet/__500page.java:392: cannot resolve symbol symbol : method getLoggerName () location: class org.apache.log4j.spi.LoggingEvent out.print(String.valueOf( loggingEvent.getLoggerName() )); //[ /500page.jsp; Line: 187] ^ 2 errors at weblogic.jspc.doCompile(jspc.java:836) at weblogic.jspc.runJspc(jspc.java:626) at weblogic.jspc.runBodyInternal(jspc.java:409) at weblogic.jspc.runBody(jspc.java:318) at weblogic.utils.compiler.Tool.run(Tool.java:146) at weblogic.utils.compiler.Tool.run(Tool.java:103) at weblogic.jspc.main(jspc.java:702) Java Result: 1 weblogic.war: Created dir: /home/devuser/atlassian-jira-enterprise-3.0.3/dist-weblogic Building jar: /home/devuser/atlassian-jira-enterprise-3.0.3/dist-weblogic/atlassian-jira-3.0.3.war -------------------------------------------------- Deployable WAR for Weblogic generated: /home/devuser/atlassian-jira-enterprise-3.0.3/dist-weblogic/atlassian-jira-3.0.3.war -------------------------------------------------- BUILD SUCCESSFUL Total time: 7 minutes 46 seconds
    via by Jeff Turner,
  • There are some problems static-compiling 3.0.3 JSPs with Weblogic 7.0sp4: weblogic.precompile: Precompiling JSPs (use -Dskip.precompile=true to skip)... Error: [jspc]: 1 file(s) failed: /500page.jsp Exception in thread "main" [Compilation errors : ] /home/devuser/atlassian-jira-enterprise-3.0.3/tmp/build/weblogic/WEB-INF/classes/jsp_servlet/__500page.java:388: cannot resolve symbol symbol : method getLevel () location: class org.apache.log4j.spi.LoggingEvent out.print(String.valueOf( loggingEvent.getLevel() )); //[ /500page.jsp; Line: 185] ^ /home/devuser/atlassian-jira-enterprise-3.0.3/tmp/build/weblogic/WEB-INF/classes/jsp_servlet/__500page.java:392: cannot resolve symbol symbol : method getLoggerName () location: class org.apache.log4j.spi.LoggingEvent out.print(String.valueOf( loggingEvent.getLoggerName() )); //[ /500page.jsp; Line: 187] ^ 2 errors at weblogic.jspc.doCompile(jspc.java:833) at weblogic.jspc.runJspc(jspc.java:626) at weblogic.jspc.runBodyInternal(jspc.java:409) at weblogic.jspc.runBody(jspc.java:318) at weblogic.utils.compiler.Tool.run(Tool.java:146) at weblogic.utils.compiler.Tool.run(Tool.java:103) at weblogic.jspc.main(jspc.java:702) java.lang.Exception: [Compilation errors : ] /home/devuser/atlassian-jira-enterprise-3.0.3/tmp/build/weblogic/WEB-INF/classes/jsp_servlet/__500page.java:388: cannot resolve symbol symbol : method getLevel () location: class org.apache.log4j.spi.LoggingEvent out.print(String.valueOf( loggingEvent.getLevel() )); //[ /500page.jsp; Line: 185] ^ /home/devuser/atlassian-jira-enterprise-3.0.3/tmp/build/weblogic/WEB-INF/classes/jsp_servlet/__500page.java:392: cannot resolve symbol symbol : method getLoggerName () location: class org.apache.log4j.spi.LoggingEvent out.print(String.valueOf( loggingEvent.getLoggerName() )); //[ /500page.jsp; Line: 187] ^ 2 errors at weblogic.jspc.doCompile(jspc.java:836) at weblogic.jspc.runJspc(jspc.java:626) at weblogic.jspc.runBodyInternal(jspc.java:409) at weblogic.jspc.runBody(jspc.java:318) at weblogic.utils.compiler.Tool.run(Tool.java:146) at weblogic.utils.compiler.Tool.run(Tool.java:103) at weblogic.jspc.main(jspc.java:702) Java Result: 1 weblogic.war: Created dir: /home/devuser/atlassian-jira-enterprise-3.0.3/dist-weblogic Building jar: /home/devuser/atlassian-jira-enterprise-3.0.3/dist-weblogic/atlassian-jira-3.0.3.war -------------------------------------------------- Deployable WAR for Weblogic generated: /home/devuser/atlassian-jira-enterprise-3.0.3/dist-weblogic/atlassian-jira-3.0.3.war -------------------------------------------------- BUILD SUCCESSFUL Total time: 7 minutes 46 seconds
    via by Jeff Turner,
  • We using the weblogic.war target in the ANT script to generate a WAR file. But we are facing JSP precompilation issues and it seems like the precompilation of JSPs is failing because of the following error: weblogic.precompile: [echo] Precompiling JSPs (use -Dskip.precompile=true to skip)... [java] Error: [jspc]: 1 file(s) failed: [java] /500page.jsp [java] Exception in thread "main" [java] [Compilation errors : ] [java] /export/vol01/enterprise-docs/jira/weblogic/src/jira/build/jira/tmp/build/weblogic/WEB-INF/classes/jsp_servlet/__500page.java:1602: cannot resolve symbol [java] symbol : variable level [java] location: class org.apache.log4j.spi.LoggingEvent [java] out.print(String.valueOf( loggingEvent.level )); //[ /500page.jsp; Line: 280] [java] ^ [java] 1 error [java] at weblogic.jspc.doCompile(jspc.java:861) [java] at weblogic.jspc.runJspc(jspc.java:654) [java] at weblogic.jspc.runBodyInternal(jspc.java:412) [java] at weblogic.jspc.runBody(jspc.java:319) [java] at weblogic.utils.compiler.Tool.run(Tool.java:192) [java] at weblogic.utils.compiler.Tool.run(Tool.java:147) [java] at weblogic.jspc.main(jspc.java:730) [java] java.lang.Exception: [Compilation errors : ] [java] /export/vol01/enterprise-docs/jira/weblogic/src/jira/build/jira/tmp/build/weblogic/WEB-INF/classes/jsp_servlet/__500page.java:1602: cannot resolve symbol [java] symbol : variable level [java] location: class org.apache.log4j.spi.LoggingEvent [java] out.print(String.valueOf( loggingEvent.level )); //[ /500page.jsp; Line: 280] [java] ^ [java] 1 error [java] at weblogic.jspc.doCompile(jspc.java:864) [java] at weblogic.jspc.runJspc(jspc.java:654) [java] at weblogic.jspc.runBodyInternal(jspc.java:412) [java] at weblogic.jspc.runBody(jspc.java:319) [java] at weblogic.utils.compiler.Tool.run(Tool.java:192) [java] at weblogic.utils.compiler.Tool.run(Tool.java:147) [java] at weblogic.jspc.main(jspc.java:730) [java] Java Result: 1
    via by Saurabh Gupta,
  • Weblogic jspc
    via by 666705,
  • We using the weblogic.war target in the ANT script to generate a WAR file. But we are facing JSP precompilation issues and it seems like the precompilation of JSPs is failing because of the following error: weblogic.precompile: [echo] Precompiling JSPs (use -Dskip.precompile=true to skip)... [java] Error: [jspc]: 1 file(s) failed: [java] /500page.jsp [java] Exception in thread "main" [java] [Compilation errors : ] [java] /export/vol01/enterprise-docs/jira/weblogic/src/jira/build/jira/tmp/build/weblogic/WEB-INF/classes/jsp_servlet/__500page.java:1602: cannot resolve symbol [java] symbol : variable level [java] location: class org.apache.log4j.spi.LoggingEvent [java] out.print(String.valueOf( loggingEvent.level )); //[ /500page.jsp; Line: 280] [java] ^ [java] 1 error [java] at weblogic.jspc.doCompile(jspc.java:861) [java] at weblogic.jspc.runJspc(jspc.java:654) [java] at weblogic.jspc.runBodyInternal(jspc.java:412) [java] at weblogic.jspc.runBody(jspc.java:319) [java] at weblogic.utils.compiler.Tool.run(Tool.java:192) [java] at weblogic.utils.compiler.Tool.run(Tool.java:147) [java] at weblogic.jspc.main(jspc.java:730) [java] java.lang.Exception: [Compilation errors : ] [java] /export/vol01/enterprise-docs/jira/weblogic/src/jira/build/jira/tmp/build/weblogic/WEB-INF/classes/jsp_servlet/__500page.java:1602: cannot resolve symbol [java] symbol : variable level [java] location: class org.apache.log4j.spi.LoggingEvent [java] out.print(String.valueOf( loggingEvent.level )); //[ /500page.jsp; Line: 280] [java] ^ [java] 1 error [java] at weblogic.jspc.doCompile(jspc.java:864) [java] at weblogic.jspc.runJspc(jspc.java:654) [java] at weblogic.jspc.runBodyInternal(jspc.java:412) [java] at weblogic.jspc.runBody(jspc.java:319) [java] at weblogic.utils.compiler.Tool.run(Tool.java:192) [java] at weblogic.utils.compiler.Tool.run(Tool.java:147) [java] at weblogic.jspc.main(jspc.java:730) [java] Java Result: 1
    via by Saurabh Gupta,
    • java.lang.Exception: [Compilation errors : ] /home/devuser/atlassian-jira-enterprise-3.0.3/tmp/build/weblogic/WEB-INF/classes/jsp_servlet/__500page.java:388: cannot resolve symbol symbol : method getLevel () location: class org.apache.log4j.spi.LoggingEvent out.print(String.valueOf( loggingEvent.getLevel() )); //[ /500page.jsp; Line: 185] ^ /home/devuser/atlassian-jira-enterprise-3.0.3/tmp/build/weblogic/WEB-INF/classes/jsp_servlet/__500page.java:392: cannot resolve symbol symbol : method getLoggerName () location: class org.apache.log4j.spi.LoggingEvent out.print(String.valueOf( loggingEvent.getLoggerName() )); //[ /500page.jsp; Line: 187] ^ 2 errors at weblogic.jspc.doCompile(jspc.java:836) at weblogic.jspc.runJspc(jspc.java:626) at weblogic.jspc.runBodyInternal(jspc.java:409) at weblogic.jspc.runBody(jspc.java:318) at weblogic.utils.compiler.Tool.run(Tool.java:146) at weblogic.utils.compiler.Tool.run(Tool.java:103) at weblogic.jspc.main(jspc.java:702)
    No Bugmate found.