Yoav,
The UserContext.class file is located in
\Tomcat\webapps\ROOT\harweb\WEB-INF\classes\harweb
Benje
"Shapira, Yoav" <Yoav.Shapira@mpi.com>
09/14/2004 08:01 AM
Please respond to
"Tomcat Users List" <tomcat-user@jakarta.apache.org>
To
"Tomcat Users List" <tomcat-user@jakarta.apache.org>
cc
Subject
RE: Application Problem
Hi,
Tomcat is not finding the class, as this message indicates:
>D:\Tomcat\work\Standalone\localhost\_\harweb\harweb\Home_JSP_jsp.java:7
:
>cannot resolve symbol
> [javac] symbol : class UserContext
> [javac] location: package harweb
> [javac] import harweb.UserContext;
> [javac] ^
> [javac] 1 error
This is the root cause: the part above is just the invocation layer
wrapper for the exception.
I see you're already importing your UserContext class (good) and that
it's already in a package (good) -- but is the UserContext class
compiled and if so, where is its .class file?
Yoav Shapira
Millennium Research Informatics
>-----Original Message-----
>From: Benje.Evans@Regions.com [mailto:Benje.Evans@Regions.com]
>Sent: Tuesday, September 14, 2004 8:58 AM
>To: tomcat-user@jakarta.apache.org
>Subject: Application Problem
>
>Hey,
>
>I have just installed the following:
>
>Tomcat 4.1.24
>Win 2k3 box
>J2SDK 1.3.1_13
>
>I can access the "root" for Tomcat at http:servername:48080 and get the
>Tomcat index page fine. I think that Tomcat may not be finding the
app,
>because of the -1 line number and the null file name.
>
>When I attempt to access the app that is installed I get the following
>error. Any ideas?
>
>Thanks,
>
>Benje
>
>org.apache.jasper.JasperException: Unable to compile class for JSP
>
>An error occurred at line: -1 in the jsp file: null
>
>Generated servlet error:
> [javac] Since fork is true, ignoring compiler setting.
> [javac] Compiling 1 source file
> [javac] Since fork is true, ignoring compiler setting.
> [javac]
>D:\Tomcat\work\Standalone\localhost\_\harweb\harweb\Home_JSP_jsp.java:7
:
>cannot resolve symbol
> [javac] symbol : class UserContext
> [javac] location: package harweb
> [javac] import harweb.UserContext;
> [javac] ^
> [javac] 1 error
>
>
>
> at
>org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorH
andl
>er.java:130)
> at
>org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.j
ava:
>293)
> at
>org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353)
> at
>org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
> at
>org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.j
ava:
>473)
> at
>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j
ava:
>190)
> at
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295
)
> at
>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
atio
>nFilterChain.java:247)
> at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
terC
>hain.java:193)
> at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
ve.j
>ava:256)
> at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
>keNext(StandardPipeline.java:643)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
480)
> at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
ve.j
>ava:191)
> at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
>keNext(StandardPipeline.java:643)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
480)
> at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:24
15)
> at
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
a:18
>0)
> at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
>keNext(StandardPipeline.java:643)
> at
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV
alve
>.java:171)
> at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
>keNext(StandardPipeline.java:641)
> at
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
a:17
>2)
> at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
>keNext(StandardPipeline.java:641)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
480)
> at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
.jav
>a:174)
> at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
>keNext(StandardPipeline.java:643)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
480)
> at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
>org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
> at
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:5
94)
> at
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process
Conn
>ection(Http11Protocol.java:392)
> at
>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:5
65)
> at
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo
l.ja
>va:619)
> at java.lang.Thread.run(Thread.java:479)
>
>
>Apache Tomcat/4.1.24
This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged. This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else. If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender. Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
|