Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Tomcat

  Asked By: Nichole    Date: Jan 25    Category: Java    Views: 697
  

I am attempting to work with Tomcat but have run into a problem with
testing, a problem that would indicate a classpath problem.

I used the following bat file to set the classpath

set JAVA_HOME=C:\j2sdk1.4.0
set ANT_HOME=C:\ANT
set MySQL_HOME=C:\MYSQL
set CATALINA_HOME=C:\tomcat


set J_PATH=%JAVA_HOME%\bin
set A_PATH=%ANT_HOME%\bin
set M_PATH=%MySQL_HOME%\bin
set TC_PATH=%CATALINA_HOME%/BIN
set CH_C=%CATALINA_HOME%\webapps\ROOT\WEB-INF\classes\coreservlets

set PATH=%PATH%;%J_PATH%;%A_PATH%;%M_PATH%;%TC_PATH%
set CLASSPATH=%CLASSPATH%;%CH_C%;%CATALINA_HOME%
\common\lib\servlet.jar

rem c:\tomcat\bin\startup.bat



cd c:\devel\builds
ant


and am using the book "Core Servlets and JavaServer Pages by Hall and
Brown;

I am attempting to compile a program called HelloServlet3.java and
ServletUtilities.java at the following address,
http://volume1.coreservlets.com/archive/, chapter two Server Setup
and configuration.

I must admit I am at a loss as to understanding why I am not getting
a clean compile. The error I am getting is a cannot resolve symbol
error.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Kifah Malik     Answered On: Jan 25

It would be easy to guess what the problem  is if you can provide us with
StackTrace / output logs.

 
Didn't find what you were looking for? Find more on Tomcat Or get search suggestion and latest updates.




Tagged: