Home  >  Q&A  >  body text

java - tomcat可以脱离myeclipse独立运行项目吗?

启动项目总是要在myeclipse中用tomcat启动,能不用myeclipse直接用tomcat或者别的服务器启动项目吗?

PHP中文网PHP中文网2741 days ago898

reply all(18)I'll reply

  • 阿神

    阿神2017-04-18 10:17:58

    Yes, just open it directly and enter the default port 8080 in the browser

    reply
    0
  • 阿神

    阿神2017-04-18 10:17:58

    tomcat can run independently

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 10:17:58

    myeclipse can only integrate tomcat. Brother, the priorities are reversed.

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-18 10:17:58

    springboot

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 10:17:58

    Of course, myeclipse is just an integrated tool for ease of use and is not necessary.

    reply
    0
  • ringa_lee

    ringa_lee2017-04-18 10:17:58

    This question. .
    myeclipse is an IDE, which makes writing code more convenient, and there are many others similar to it; Tomcat is an application server, and a Servlet/JSP running environment exists, and there are many similar ones.
    myeclipse is a tool used during development. Download Tomcat and decompress it. There are also sample projects in it. , try running it directly

    reply
    0
  • ringa_lee

    ringa_lee2017-04-18 10:17:58

    So if you just use IDE blindly, you will have such problems. Sometimes when you study, you have to use the original way to know what the project is going on

    reply
    0
  • 怪我咯

    怪我咯2017-04-18 10:17:58

    Sure. Tomcat on the server does not have myeclipse. . You just integrated TOMCAT into the IDE. Run the start.bat or .sh script in the bin package in the tomcat directory to start. Package your project into a jar or war package. Put it in the WEBAPP directory and run tomacat

    reply
    0
  • Cancelreply