Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. ErrorDispatcher.javacError() has thrown a JasperException
    Tomcat Jasper Compiler
    4
    0
    0

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP</p> <p>PWC6199: Generated servlet error: source value 1.5 is obsolete and will be removed in a future release</p> <p>PWC6199: Generated servlet error: target value 1.5 is obsolete and will be removed in a future release</p> <p>PWC6199: Generated servlet error: To suppress warnings about obsolete options, use -Xlint:-options.</p> <p>PWC6197: An error occurred at line: 71 in the jsp file: /SubmitToSP.jsp PWC6199: Generated servlet error: reference to Base64 is ambiguous both class java.util.Base64 in java.util and class org.apache.commons.codec.binary.Base64 in org.apache.commons.codec.binary match</p> <p>PWC6199: Generated servlet error: /SubmitToSP_jsp.java uses unchecked or unsafe operations.</p> <p>PWC6199: Generated servlet error: Recompile with -Xlint:unchecked for details.</p> <pre><code>at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:129)
    at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:299)
    at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:392)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:453)
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:625)
32 frames hidden

External results for this pattern (5)

  1. Bruce Jinvia Coderanch1 year ago
    Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file
    Show stack trace
  2. Ashwinivia Stack Overflow2 years ago
    PWC6033: Error in Javac compilation for JSP</p> <p>PWC6199: Generated servlet error: source value 1.5 is obsolete and will be removed in a future release</p> <p>PWC6199: Generated servlet error: target value 1.5 is obsolete and will be removed in a future release</p> <p>PWC6199: Generated servlet error: To suppress warnings about obsolete options, use -Xlint:-options.</p> <p>PWC6197: An error occurred at line: 71 in the jsp file: /SubmitToSP.jsp PWC6199: Generated servlet error: reference to Base64 is ambiguous both class java.util.Base64 in java.util and class org.apache.commons.codec.binary.Base64 in org.apache.commons.codec.binary match</p> <p>PWC6199: Generated servlet error: /SubmitToSP_jsp.java uses unchecked or unsafe operations.</p> <p>PWC6199: Generated servlet error: Recompile with -Xlint:unchecked for details.</p> <pre><code>at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:129)
    Show stack trace
  3. Ameervia Stack Overflow2 years ago
    Unable to compile class for JSP: An error occurred at line: 31 in the generated java file The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory AStacktrace: at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
    Show stack trace
  4. Unable to compile class for JSP: An error occurred at line: 90 in the jsp file: /uploadwebcamimage.jsp FaceDetection cannot be resolved 87: fos.write(imageData); 88: String imagepath=filesstore+"\\"+imagename+".png"; 89: 90: Boolean flag=FaceDetection.FaceDetectionMain(imagepath,imagename); 91: %&gt; 92: &lt;/body&gt; 93: &lt;/html&gt; </code></pre> <p>Please help me remove this exception. Full stackTrace for exception is : </p> <pre><code>at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97)
    Show stack trace
  5. Unable to compile class for JSP: An error occurred at line: 6 in the generated java file Only a type can be imported. com.sixpanview.getcoordinate resolves to a package An error occurred at line: 7 in the generated java file Only a type can be imported. com.sixpanview.fileReader resolves to a package An error occurred at line: 8 in the generated java file Only a type can be imported. com.sixpanview.cookieInfo resolves to a package </code></pre> <p>and getting errors at the lines which uses <code>getcoordinate</code>, <code>fileReader</code> and <code>cookieInfo</code> in the .jsp program and the stack trace is</p> <pre><code>at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
    Show stack trace