java-web - 没有myeclipse的情况下如何将javaweb项目发布到tomcat
伊谢尔伦
伊谢尔伦 2017-04-17 15:27:49
0
4
758

不用myeclipse

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(4)
刘奇

Deploy directly to the webapps directory of tomcat, run tomcat (click startup.bat under bin in the tomcat installation directory), and then run your program!

Ty80

Go to Google and find out how to manually deploy web projects to tomcat.
It seems that the context.xml file needs to be modified. Putting it directly into webapps will not work

Peter_Zhu

mvn package Then throw the war package into the webapp directory.

黄舟

The question is not clear. If there is a ready-made war package, put it directly in the webapp directory of tomcat. If not, you need to write a script for packaging first. There are several packaging methods:

  1. If it is built by maven, directly mvn package

  2. Write ant script

  3. Various scripts that can call java commands and operate files, such as bat, shell, python, etc.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!