Running tomcat in eclipse vs command line

I use tomcat 6, and when I launch it from the command line, the application works fine, but when I start tomcat from eclipse (I added it as a server in eclipse), I get 404 error when I try to run the application in my browser. Any ideas why this is?

+5
source share
1 answer

By default, when you reference an existing Tomcat instance in Eclipse, only its engine is used. All already deployed webapps in the Tomcat folder are /webapps ignored . You seem to expect them to also be available when you launch Tomcat from within Eclipse.

Tomcat Eclipse, Tomcat ( ). . Tomcat "", .

enter image description here

, , Tomcat, Eclipse, Tomcat Eclipse.

+8

All Articles