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 | 4 months ago
  1. 0

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

    GitHub | 4 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 compiling JSP on tomcat8 and java8

    Stack Overflow | 2 years ago | user1247412
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: [768] in the generated java file: [/opt/tomcat/book_store/work/Catalina/localhost/bookStore/org/apache/jsp/WEB_002dINF/jsp/select_005fparameters_jsp.java] bookData cannot be resolved to a variable Stacktrace:
  3. 0

    JSP compilation on Android (Jetty embedded) - android pressing answers

    pressinganswer.com | 1 year ago
    org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP PWC6199: Generated servlet error: The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files PWC6199: Generated servlet error: The type java.lang.Throwable cannot be resolved. It is indirectly referenced from required .class files PWC6199: Generated servlet error: The type java.lang.String cannot be resolved. It is indirectly referenced from required .class files PWC6199: Generated servlet error: org.apache.jasper.runtime.HttpJspBase cannot be resolved to a type PWC6199: Generated servlet error: org.apache.jasper.runtime.JspSourceDependent cannot be resolved to a type PWC6199: Generated servlet error: JspFactory cannot be resolved to a type PWC6199: Generated servlet error: JspFactory cannot be resolved PWC6199: Generated servlet error: java.util.List cannot be resolved to a type PWC6199: Generated servlet error: Syntax error, parameterized types are only available if source level is 1.5 or greater PWC6199: Generated servlet error: String cannot be resolved to a type PWC6199: Generated servlet error: org.glassfish.jsp.api.ResourceInjector cannot be resolved to a type PWC6199: Generated servlet error: java.util.List cannot be resolved to a type PWC6199: Generated servlet error: Syntax error, parameterized types are only available if source level is 1.5 or greater PWC6199: Generated servlet error: String cannot be resolved to a type PWC6199: Generated servlet error: _jspx_dependants cannot be resolved to a variable PWC6199: Generated servlet error: HttpServletRequest cannot be resolved to a type PWC6199: Generated servlet error: HttpServletResponse cannot be resolved to a type PWC6199: Generated servlet error: java.io.IOException cannot be resolved to a type PWC6199: Generated servlet error: ServletException cannot be resolved to a type PWC6199: Generated servlet error: PageContext cannot be resolved to a type PWC6199: Generated servlet error: HttpSession cannot be resolved to a type PWC6199: Generated servlet error: ServletContext cannot be resolved to a type PWC6199: Generated servlet error: ServletConfig cannot be resolved to a type PWC6199: Generated servlet error: JspWriter cannot be resolved to a type PWC6199: Generated servlet error: Object cannot be resolved to a type PWC6199: Generated servlet error: JspWriter cannot be resolved to a type PWC6199: Generated servlet error: PageContext cannot be resolved to a type PWC6199: Generated servlet error: _jspxFactory cannot be resolved PWC6199: Generated servlet error: _jspx_resourceInjector cannot be resolved to a variable PWC6199: Generated servlet error: org.glassfish.jsp.api.ResourceInjector cannot be resolved to a type PWC6197: An error occurred at line: 3 in the jsp file: /time.jsp PWC6199: Generated servlet error: java.util.Date cannot be resolved to a type PWC6199: Generated servlet error: Throwable cannot be resolved to a type PWC6199: Generated servlet error: SkipPageException cannot be resolved to a type PWC6199: Generated servlet error: ServletException cannot be resolved to a type PWC6199: Generated servlet error: _jspxFactory cannot be resolved
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 0

    Can't make my spring boot application work with jsp

    Stack Overflow | 5 months ago | IngeniousTom
    org.apache.jasper.JasperException: java.lang.IllegalStateException: No Java compiler available

  1. Andreas Häber 1 times, last 4 weeks ago
  2. andyglick 12 times, last 3 months ago
  3. Justin 2 times, last 4 months ago
  4. abrazeneb 4 times, last 5 months ago
  5. Plato2000 6 times, last 7 months ago
71 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