org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: [14] in the generated java file: [C:\Users\matheus\AppData\Roaming\NetBeans\8.1\apache-tomcat-8.0.27.0_base\work\Catalina\localhost\crud3\org\apache\jsp\cadPessoa_jsp.java] Only a type can be imported. br.com.empresa.ludmylla.to.PessoaTO resolves to a package An error occurred at line: [15] in the generated java file: [C:\Users\matheus\AppData\Roaming\NetBeans\8.1\apache-tomcat-8.0.27.0_base\work\Catalina\localhost\crud3\org\apache\jsp\cadPessoa_jsp.java] Only a type can be imported. br.com.empresa.ludmylla.to.TransferObject resolves to a package An error occurred at line: [16] in the generated java file: [C:\Users\matheus\AppData\Roaming\NetBeans\8.1\apache-tomcat-8.0.27.0_base\work\Catalina\localhost\crud3\org\apache\jsp\cadPessoa_jsp.java] Only a type can be imported. br.com.empresa.ludmylla.controller.PessoaController resolves to a package Stacktrace:

  1. 0

    HELLP servelet no comunica java

    Stack Overflow | 3 months ago | matheus calaça
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: [14] in the generated java file: [C:\Users\matheus\AppData\Roaming\NetBeans\8.1\apache-tomcat-8.0.27.0_base\work\Catalina\localhost\crud3\org\apache\jsp\cadPessoa_jsp.java] Only a type can be imported. br.com.empresa.ludmylla.to.PessoaTO resolves to a package An error occurred at line: [15] in the generated java file: [C:\Users\matheus\AppData\Roaming\NetBeans\8.1\apache-tomcat-8.0.27.0_base\work\Catalina\localhost\crud3\org\apache\jsp\cadPessoa_jsp.java] Only a type can be imported. br.com.empresa.ludmylla.to.TransferObject resolves to a package An error occurred at line: [16] in the generated java file: [C:\Users\matheus\AppData\Roaming\NetBeans\8.1\apache-tomcat-8.0.27.0_base\work\Catalina\localhost\crud3\org\apache\jsp\cadPessoa_jsp.java] Only a type can be imported. br.com.empresa.ludmylla.controller.PessoaController resolves to a package Stacktrace:
  2. 0

    Apache error running java web application

    Stack Overflow | 2 years ago | Xinn3r
    org.apache.jasper.JasperException: The absolute uri: <a href="http://java.sun.com/jsp/jstl/core" rel="nofollow">http://java.sun.com/jsp/jstl/core</a> cannot be resolved in either web.xml or the jar files deployed with this application
  3. 0

    java.lang.NullPointerException at java.io.FileInputStream.(FileInputStream.java:130)

    Stack Overflow | 2 years ago | Serg Bash
    org.apache.jasper.JasperException: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error Mondrian JPivot OLAP com.tonbeller.jpivot.olap.model.OlapException: 0

    Stack Overflow | 3 years ago | 5minutsOfBullfight
    org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: com.tonbeller.jpivot.olap.model.OlapException: 0
  6. 0

    JSP compilation error in tomcat 8

    Stack Overflow | 2 years ago
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: [43] in the generated java file: [E:\apache-tomcat-8.0.21\work\Catalina\localhost\UDMUI\org\apache\jsp\login\login_jsp.java] The return type is incompatible with JspSourceDependent.getDependants() An error occurred at line: [56] in the generated java file: [E:\apache-tomcat-8.0.21\work\Catalina\localhost\UDMUI\org\apache\jsp\login\login_jsp.java] The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory Stacktrace:

  1. abrazeneb 4 times, last 5 months ago
  2. treefolk 1 times, last 1 week ago
  3. Andreas Häber 1 times, last 1 month ago
  4. Justin 2 times, last 4 months ago
  5. andyglick 12 times, last 3 months ago
1 more registered users
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: [C:\Users\matheus\AppData\Roaming\NetBeans\8.1\apache-tomcat-8.0.27.0_base\work\Catalina\localhost\crud3\org\apache\jsp\cadPessoa_jsp.java] Only a type can be imported. br.com.empresa.ludmylla.to.PessoaTO resolves to a package An error occurred at line: [15] in the generated java file: [C:\Users\matheus\AppData\Roaming\NetBeans\8.1\apache-tomcat-8.0.27.0_base\work\Catalina\localhost\crud3\org\apache\jsp\cadPessoa_jsp.java] Only a type can be imported. br.com.empresa.ludmylla.to.TransferObject resolves to a package An error occurred at line: [16] in the generated java file: [C:\Users\matheus\AppData\Roaming\NetBeans\8.1\apache-tomcat-8.0.27.0_base\work\Catalina\localhost\crud3\org\apache\jsp\cadPessoa_jsp.java] Only a type can be imported. br.com.empresa.ludmylla.controller.PessoaController resolves to a package Stacktrace:

    at org.apache.jasper.compiler.DefaultErrorHandler.javacError()
  2. GWT dev
    JspServlet.service
    1. org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
    2. org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:198)
    3. org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:450)
    4. org.apache.jasper.compiler.Compiler.compile(Compiler.java:361)
    5. org.apache.jasper.compiler.Compiler.compile(Compiler.java:336)
    6. org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)
    7. org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
    8. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:363)
    9. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
    10. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
    10 frames
  3. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    1 frame
  4. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2 frames
  5. Tomcat WS
    WsFilter.doFilter
    1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    1 frame
  6. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2 frames
  7. org.netbeans.modules
    MonitorFilter.doFilter
    1. org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
    1 frame
  8. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:217)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
    8. org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
    10 frames
  9. Grizzly HTTP
    NioEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)
    3. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
    4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
    4 frames
  10. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    2 frames
  11. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    1 frame
  12. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame