Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javax.servlet

 
Michael Cleary
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using JCreator Pro 3.0, and I have the J2SE 1.4.2_03 installed. All of my environment variables appear to be set correctly. However, whenever I try to import javax.servlet.*, and then try to compile a .java file (in JCreator), I get errors stating that the package javax.servlet does not exist. If I compile the same file from the command line using javac <filename>.java, it compiles just fine.
If anyone is using JCreator can you please tell me how to get it to compile this file!? All of the paths that JCreator sets up automatically seem to be correct also.
Thanks,
Mike
 
Michael Cleary
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oops. Never mind. I added the server.jar (included w/ Tomcat) to the JCreator paths and it now compiles fine.
Duhhh...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic