org.apache.jasper.JasperException: Unable to compile class for JSP Generated servlet error: Only a type can be imported. ars.login.login resolves to a package An error occurred at line: 40 in the jsp file: /calendar/calendar.jsp Generated servlet error: login cannot be resolved to a type An error occurred at line: 40 in the jsp file: /calendar/calendar.jsp Generated servlet error: login cannot be resolved to a type

Oracle Community | 843802 | 1 decade ago
  1. 0

    jar file and remedy

    Oracle Community | 1 decade ago | 843802
    org.apache.jasper.JasperException: Unable to compile class for JSP Generated servlet error: Only a type can be imported. ars.login.login resolves to a package An error occurred at line: 40 in the jsp file: /calendar/calendar.jsp Generated servlet error: login cannot be resolved to a type An error occurred at line: 40 in the jsp file: /calendar/calendar.jsp Generated servlet error: login cannot be resolved to a type
  2. 0

    Error from sventon 2.0

    Google Groups | 8 years ago | EasyTarget
    org.apache.jasper.JasperException: Attempt to coerce a value of type "org.sventon.web.command.ConfigCommand" to type "org.sventon.web.command.SVNBaseCommand"
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    include doesn't recognize relative path from sub folder (Tomcat forum at JavaRanch)

    coderanch.com | 11 months ago
    org.apache.jasper.JasperException: /index.jsp(8,4) File "/includes/header.jsp" not found
  5. 0

    include doesn't recognize relative path from sub folder

    Coderanch | 9 years ago | Axel Brown
    org.apache.jasper.JasperException: /index.jsp(8,4) File "/includes/header.jsp" not found

  1. Andreas Häber 1 times, last 4 weeks ago
  2. Justin 2 times, last 4 months ago
  3. abrazeneb 4 times, last 5 months ago
  4. andyglick 12 times, last 3 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 Generated servlet error: Only a type can be imported. ars.login.login resolves to a package An error occurred at line: 40 in the jsp file: /calendar/calendar.jsp Generated servlet error: login cannot be resolved to a type An error occurred at line: 40 in the jsp file: /calendar/calendar.jsp Generated servlet error: login cannot be resolved to a type

    at org.apache.jasper.compiler.DefaultErrorHandler.javacError()
  2. GWT dev
    JspServlet.service
    1. org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
    2. org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
    3. org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:409)
    4. org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
    5. org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
    6. org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
    7. org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
    8. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
    9. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    10. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    10 frames
  3. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    1 frame
  4. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    8 frames
  5. Embedded GlassFish Web
    ChannelSocket$SocketConnection.runIt
    1. org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
    2. org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
    3. org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:744)
    4. org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:674)
    5. org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:866)
    5 frames
  6. Tomcat Util
    ThreadPool$ControlRunnable.run
    1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    1 frame
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame