Solved

Tomcat Won't work properly

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

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…
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

860 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