tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zachmann, Jens" <jens.zachm...@sapmarkets.com>
Subject RE: Problems compiling
Date Wed, 27 Jun 2001 10:29:06 GMT
Thank you. Now the compiling was successfully. But now I have the problem in
my IDE that JSP pages are not compiled. This is the error of one of the demo
pages. Do I need an additional package? And by the way the
javax.servlet.jsp.* package is in the lib path:

Internal Servlet Error:

org.apache.jasper.JasperException: Unable to compile class for JSPC:\Program
Files\IBM\IBMVJava\IDE\project_resources\Tomcat
PDA\work\localhost_8080%2Fexamples\_0002fjsp_0002fnum_0002fnumguess_0002ejsp
_0002fjsp_0002fnum_0002fnumguess_jsp_0.java:3: Package javax.servlet.jsp not
found in import.
import javax.servlet.jsp.*;
       ^
C:\Program Files\IBM\IBMVJava\IDE\project_resources\Tomcat
PDA\work\localhost_8080%2Fexamples\_0002fjsp_0002fnum_0002fnumguess_0002ejsp
_0002fjsp_0002fnum_0002fnumguess_jsp_0.java:4: Package
javax.servlet.jsp.tagext not found in import.
import javax.servlet.jsp.tagext.*;
       ^
C:\Program Files\IBM\IBMVJava\IDE\project_resources\Tomcat
PDA\work\localhost_8080%2Fexamples\_0002fjsp_0002fnum_0002fnumguess_0002ejsp
_0002fjsp_0002fnum_0002fnumguess_jsp_0.java:10: Package
org.apache.jasper.runtime not found in import.
import org.apache.jasper.runtime.*;
       ^
C:\Program Files\IBM\IBMVJava\IDE\project_resources\Tomcat
PDA\work\localhost_8080%2Fexamples\_0002fjsp_0002fnum_0002fnumguess_0002ejsp
_0002fjsp_0002fnum_0002fnumguess_jsp_0.java:12: Class
org.apache.jasper.JasperException not found in import.
import org.apache.jasper.JasperException;
       ^
C:\Program Files\IBM\IBMVJava\IDE\project_resources\Tomcat
PDA\work\localhost_8080%2Fexamples\_0002fjsp_0002fnum_0002fnumguess_0002ejsp
_0002fjsp_0002fnum_0002fnumguess_jsp_0.java:16: Superclass HttpJspBase of
class
_0002fjsp_0002fnum_0002fnumguess_0002ejsp_0002fjsp_0002fnum_0002fnumguess_js
p_0 not found.
public class
_0002fjsp_0002fnum_0002fnumguess_0002ejsp_0002fjsp_0002fnum_0002fnumguess_js
p_0 extends HttpJspBase {
 
^
5 errors

	java.lang.Throwable(java.lang.String)
	java.lang.Exception(java.lang.String)
	javax.servlet.ServletException(java.lang.String)
	org.apache.jasper.JasperException(java.lang.String)
	boolean org.apache.jasper.compiler.Compiler.compile()
	boolean
org.apache.jasper.servlet.JspServlet.doLoadJSP(java.lang.String,
java.lang.String, boolean, javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
	boolean
org.apache.jasper.servlet.JasperLoader.loadJSP(org.apache.jasper.servlet.Jsp
Servlet, java.lang.String, java.lang.String, boolean,
javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
	boolean
org.apache.jasper.servlet.JspServlet.loadJSP(java.lang.String,
java.lang.String, boolean, javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
	void
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(javax
.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
	void
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(javax.servlet
.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, boolean)
	void
org.apache.jasper.servlet.JspServlet.serviceJspFile(javax.servlet.http.HttpS
ervletRequest, javax.servlet.http.HttpServletResponse, java.lang.String,
java.lang.Throwable, boolean)
	void
org.apache.jasper.servlet.JspServlet.service(javax.servlet.http.HttpServletR
equest, javax.servlet.http.HttpServletResponse)
	void
javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
javax.servlet.ServletResponse)
	void
org.apache.tomcat.core.ServletWrapper.doService(org.apache.tomcat.core.Reque
st, org.apache.tomcat.core.Response)
	void
org.apache.tomcat.core.Handler.service(org.apache.tomcat.core.Request,
org.apache.tomcat.core.Response)
	void
org.apache.tomcat.core.ServletWrapper.service(org.apache.tomcat.core.Request
, org.apache.tomcat.core.Response)
	void
org.apache.tomcat.core.ContextManager.internalService(org.apache.tomcat.core
.Request, org.apache.tomcat.core.Response)
	void
org.apache.tomcat.core.ContextManager.service(org.apache.tomcat.core.Request
, org.apache.tomcat.core.Response)
	void
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(org.a
pache.tomcat.service.TcpConnection, java.lang.Object [])
	void
org.apache.tomcat.service.TcpWorkerThread.runIt(java.lang.Object [])
	void org.apache.tomcat.util.ThreadPool$ControlRunnable.run()
	void java.lang.Thread.run()



-----Original Message-----
From: Pier P. Fumagalli [mailto:pier@betaversion.org]
Sent: Montag, 25. Juni 2001 13:59
To: tomcat-dev@jakarta.apache.org
Subject: Re: Problems compiling


Zachmann, Jens at jens.zachmann@sapmarkets.com wrote:

> Hi!
> 
> I want to import tomcat in my IDE for compiling (IBM Visual Age for Java).
> But first problem I have is that it's not possible to compile the tomcat
> with jdk1.1.8. Do I need jdk1.2.x? Because it runs on jdk1.1.8 so I
thought
> it's also possible to compile it with this version.

Yeah... You need a JDK >= 1.2 to compile it (went on the list some time
ago). But then it runs in 1.1 also (runs on MacOS/9)

    Pier

Mime
View raw message