Solved

Tomcat Won't work properly

Posted on 2004-08-31
2
164 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

705 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