LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 03-21-2006, 06:45 AM   #1
xpucto
Member
 
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:
Quote:
package javax.servlet does not exist
I have tis problem eventhough I set the classpath
Quote:
echo $CLASSPATH
/opt/SUNWappserver/jdk/lib:/opt/apache-tomcat/common/lib:/opt/apache-tomcat/bin
if i do
Quote:
javac -classpath /opt/apache-tomcat/common/lib/servlet-api.jar servlet_test1.java
, then it works.
What did I do wrong?
 
  


Reply


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


All times are GMT -5. The time now is 08:58 AM.

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