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

Atlassian JIRA | Jeff Turner | 1 decade ago
  1. 0

    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

    Atlassian JIRA | 1 decade ago | Jeff Turner
    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
  2. 0

    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

    Atlassian JIRA | 1 decade ago | Jeff Turner
    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
  3. 0

    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

    Atlassian JIRA | 9 years ago | Saurabh Gupta
    java.lang.Exception: [Compilation errors : ] /export/vol01/enterprise-docs/jira/weblogic/src/jira/build/jira/tmp/build/weblogic/WEB-INF/classes/jsp_servlet/__500page.java:1602: cannot resolve symbol symbol : variable level location: class org.apache.log4j.spi.LoggingEvent out.print(String.valueOf( loggingEvent.level )); //[ /500page.jsp; Line: 280] ^ 1 error
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Weblogic jspc

    Oracle Community | 1 decade ago | 666705
    java.lang.Exception: [Compilation errors : ]
  6. 0

    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

    Atlassian JIRA | 9 years ago | Saurabh Gupta
    java.lang.Exception: [Compilation errors : ] /export/vol01/enterprise-docs/jira/weblogic/src/jira/build/jira/tmp/build/weblogic/WEB-INF/classes/jsp_servlet/__500page.java:1602: cannot resolve symbol symbol : variable level location: class org.apache.log4j.spi.LoggingEvent out.print(String.valueOf( loggingEvent.level )); //[ /500page.jsp; Line: 280] ^ 1 error

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. weblogic
      jspc.runBody
      1. weblogic.jspc.doCompile(jspc.java:836)
      2. weblogic.jspc.runJspc(jspc.java:626)
      3. weblogic.jspc.runBodyInternal(jspc.java:409)
      4. weblogic.jspc.runBody(jspc.java:318)
      4 frames
    3. weblogic.utils.compiler
      Tool.run
      1. weblogic.utils.compiler.Tool.run(Tool.java:146)
      2. weblogic.utils.compiler.Tool.run(Tool.java:103)
      2 frames
    4. weblogic
      jspc.main
      1. weblogic.jspc.main(jspc.java:702)
      1 frame