Java + eclipse + apple snow: missing javax.servlet. *

I am trying to write a simple java applet program, but it seems that I am missing a class definition javax.servlet.*.

Using:

  • Apple snow
  • eclipse Java EE ide

Do I need to add a specific JAR file to my project, and if so, which one?

I have Macports installed in case one of the ports can be useful.

+3
source share
2 answers

( ) Eclipse ( , Java EE Tomcat, -).

(, , "... , ..." ). , . ( stacktrace, ). . .: Smart Way.

, Eclipse + Tomcat + Servlets, :

+4

. tomcat 6 .

tomcat:

Sysdeo Eclipse Tomcat Launcher - http://www.eclipsetotale.com/tomcatPlugin.html

Netbeans, tomcat, - java. netbeans, gui .

0

Source: https://habr.com/ru/post/1730682/


All Articles