Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compile error after intial Install of Tomcat 4.1.18 1

Status
Not open for further replies.

reisende

Programmer
Mar 16, 2004
74
US
Hi everyone.

I am trying to install Tomcat 4.1.18 on a Windows 2000 server and am getting a very perplexing result.

The install seems to go fine, but when I attempt to pull up the ROOT "Welcome to Tomcat" page by navigating to I get this:

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] Compiling 1 source file

It has been two years since I've set Tomcat up on Windows so I am probably forgetting something. I seem to recall a windows setting I had to tweak or a properties file I had to edit, but I can't remember for sure.

Any help would be great.

Thanks.
 
Have you got JAVA_HOME, TOMCAT_HOME & CATALINA_HOME variables set ?
Have you got a JDK installed (ie java development it - a compiler) ?

--------------------------------------------------
Free Database Connection Pooling Software
 
I have JAVA_HOME. That's set to C:\Program Files\Java\j2re1.4.2_05.

I don't have TOMCAT_HOME or CATALINA_HOME, though. Aren't they the same thing, though?
 
OK, I got it. I was using the JRE instead of the JDK as my JAVA_HOME.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top