Solved

Tomcat Won't work properly

Posted on 2004-08-31
2
155 Views
Last Modified: 2010-03-04
I have been having constant problems with is one about a servlet that Uses Packages and Utilities. Again, I am still testing the server here and have been following the instructions at http://www.coreservlets.com/Apache-Tomcat-Tutorial/#Test3 which is the 3rd, and Final Test to ensure Tomacat will be running properly.

The MAIN problem is that even though I have downloaded the Utilities file and Servlet file, the "HelloServlet3" servlet is returning an error of "Unresolved symbol: ServletUtilities".  I checked the CLASSPATH in the autoexec.bat file and it is the following:
      set PATH=C:\j2sdk1.4.2_05\bin;%PATH%
      set JAVA_HOME=C:\j2sdk1.4.2_05
      set CLASSPATH=.;C:\jakarta-tomcat-5.0.27\common\lib\servlet-      api.jar;C:\jakarta-tomcat-5.0.27\common\lib\jsp-      api.jar;C:\Servlets+JSP;..;..\..
My development directory is in the C:\Servlets+JSP folder, and that is where I successfully compiled the ServletUtilities.java, and came up with the errors attempting to compile HelloServlet3.java. I believe there might be a problem with my CLASSPATH string in my autoexec.bat file. I attempted to look for solutions on the web but have been unsuccessful.

Is there anything you could recommend for me to find a solution in successfully compiling the HelloServlet3.java file?

0
Comment
Question by:apapanic
2 Comments
 

Author Comment

by:apapanic
ID: 11945529
I use NETBEANS as my compiler
0
 
LVL 9

Accepted Solution

by:
ronan_40060 earned 50 total points
ID: 12091403
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now