Apache Tomcat 404 Error

前端 未结 10 949
终归单人心
终归单人心 2021-01-11 13:49

I downloaded Apache Tomcat 6.0.2 And created a new server in Eclipse

  1. New -> Server
  2. Select \"Tomcat v6.0 Server\", Next
  3. Tomcat Installation Di
10条回答
  •  隐瞒了意图╮
    2021-01-11 13:57

    The problem is just as drvdijk mentioned, in order to run a webapp on tomcat from eclipse, it needs to be "deployed" to it. This can be done by right clicking the tomcat server -> add and remove

    Alternatively, you can try to startup your tomcat server outside of eclipse. Go to your command line and type

      $CATALINA_HOME\bin\startup.bat          (Windows)
    
      $CATALINA_HOME/bin/startup.sh           (Unix)
    

    Where $catalina_home is the directory of where you installed tomcat

提交回复
热议问题