Heim  >  Fragen und Antworten  >  Hauptteil

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

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

PHP中文网PHP中文网2741 Tage vor900

Antworte allen(18)Ich werde antworten

  • 阿神

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

    可以的,直接在开启,在浏览器输入默认端口8080

    Antwort
    0
  • 阿神

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

    tomcat可以自己独立运行的

    Antwort
    0
  • PHP中文网

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

    myeclipse只是可以集成tomcat。兄弟,主次反了。

    Antwort
    0
  • 巴扎黑

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

    springboot

    Antwort
    0
  • PHP中文网

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

    当然可以,myeclipse只是集成工具,方便使用,并不是必须的。

    Antwort
    0
  • ringa_lee

    ringa_lee2017-04-18 10:17:58

    这个问题。。
    myeclipse是IDE,让写代码更方便,其他类似很多;Tomcat是应用服务器,Servlet/JSP运行环境存在,也有很多类似,
    myeclipse是在开发时使用的工具,下载Tomcat解压,里面还有示例项目,直接运行试试

    Antwort
    0
  • ringa_lee

    ringa_lee2017-04-18 10:17:58

    所以一味只用ide就会出现这样的问题,有时候学习的话还得用原始的方式才能知道工程到底怎么回事儿

    Antwort
    0
  • 怪我咯

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

    肯定可以。服务器上的tomcat都没有myeclipse吧。。你只是把TOMCAT集成到IDE里面了 。tomcat目录中的 bin包中运行那个start.bat或者.sh的脚本就能启动。把你的项目打成jar或者war包。放到WEBAPP目录下,运行tomacat就行了

    Antwort
    0
  • StornierenAntwort