Solved

Tomcat Won't work properly

Posted on 2004-08-31
2
152 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

743 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

11 Experts available now in Live!

Get 1:1 Help Now