org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: [14] in the generated java file: [E:\work\workspace\common-insurance\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\admin\org\apache\jsp\static_\plugins\ueditor\jsp\controller_jsp.java] Only a type can be imported. com.baidu.ueditor.ActionEnter resolves to a package An error occurred at line: 12 in the jsp file: /static/plugins/ueditor/jsp/controller.jsp ActionEnter cannot be resolved to a type 9: 10: String rootPath = application.getRealPath( "/" ); 11: 12: out.write( new ActionEnter( request, rootPath ).exec() ); 13: 14: %> Stacktrace:

GitHub | liuhuan543539666 | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    maven配置上传图片出错 An error occurred at line: 12 in the jsp file: /static/plugins/ueditor/jsp/controller.jsp

    GitHub | 8 months ago | liuhuan543539666
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: [14] in the generated java file: [E:\work\workspace\common-insurance\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\admin\org\apache\jsp\static_\plugins\ueditor\jsp\controller_jsp.java] Only a type can be imported. com.baidu.ueditor.ActionEnter resolves to a package An error occurred at line: 12 in the jsp file: /static/plugins/ueditor/jsp/controller.jsp ActionEnter cannot be resolved to a type 9: 10: String rootPath = application.getRealPath( "/" ); 11: 12: out.write( new ActionEnter( request, rootPath ).exec() ); 13: 14: %> Stacktrace:
  2. 0

    Error while running the ping federate agentless sample application

    Stack Overflow | 2 years ago | Ashwini
    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)
  3. 0

    Problems with admin - Broadleaf Commerce Discussion Forums

    broadleafcommerce.org | 1 year ago
    org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Upgrading spring security breaks JSP compilation

    Stack Overflow | 1 year ago | Tobb
    org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP
  6. 0

    tomcat fail to compile jsp

    Stack Overflow | 3 years ago | user2130951
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 1 in the generated java file The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files Stacktrace:

  1. treefolk 6 times, last 3 months ago
  2. Andreas Häber 1 times, last 6 months ago
  3. andyglick 12 times, last 8 months ago
  4. Justin 2 times, last 9 months ago
  5. abrazeneb 4 times, last 10 months ago
1 more registered users
72 unregistered visitors
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. org.apache.jasper.JasperException

    Unable to compile class for JSP: An error occurred at line: [14] in the generated java file: [E:\work\workspace\common-insurance\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\admin\org\apache\jsp\static_\plugins\ueditor\jsp\controller_jsp.java] Only a type can be imported. com.baidu.ueditor.ActionEnter resolves to a package An error occurred at line: 12 in the jsp file: /static/plugins/ueditor/jsp/controller.jsp ActionEnter cannot be resolved to a type 9: 10: String rootPath = application.getRealPath( "/" ); 11: 12: out.write( new ActionEnter( request, rootPath ).exec() ); 13: 14: %> Stacktrace:

    at org.apache.jasper.compiler.DefaultErrorHandler.javacError()
  2. GWT dev
    JspServlet.service
    1. org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)
    2. org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:366)
    3. org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:490)
    4. org.apache.jasper.compiler.Compiler.compile(Compiler.java:379)
    5. org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)
    6. org.apache.jasper.compiler.Compiler.compile(Compiler.java:341)
    7. org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:662)
    8. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:364)
    9. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
    10. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
    10 frames