Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-21-2006, 06:45 AM   #1
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 524

Rep: Reputation: 31
Tomcat: package javax.servlet does not exist

I've just installed Tomcat with apache on RH9. Everything seems to work
except when I try to compile a servlet, I ge the error message:
package javax.servlet does not exist
I have tis problem eventhough I set the classpath
if i do
javac -classpath /opt/apache-tomcat/common/lib/servlet-api.jar
, then it works.
What did I do wrong?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tomcat package location jpc82 Programming 1 03-01-2006 11:09 AM
How to install MPlayer? Doesn't exist package? Mathsniper Debian 1 06-29-2005 05:19 AM
install Java (Servlet), Tomcat on Fedora need help. learn Fedora 2 02-24-2004 11:28 PM
how can i run my helloworld servlet in apache-tomcat-mod_jk? doublefailure Linux - Software 1 04-28-2003 08:33 AM
system.out.println() not working in servlet, Tomcat Ethan Programming 7 07-24-2002 11:40 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration