Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 07:45 AM   #1
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 522

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 12:09 PM
How to install MPlayer? Doesn't exist package? Mathsniper Debian 1 06-29-2005 06:19 AM
install Java (Servlet), Tomcat on Fedora need help. learn Fedora 2 02-25-2004 12:28 AM
how can i run my helloworld servlet in apache-tomcat-mod_jk? doublefailure Linux - Software 1 04-28-2003 09:33 AM
system.out.println() not working in servlet, Tomcat Ethan Programming 7 07-24-2002 12:40 PM

All times are GMT -5. The time now is 12:37 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration