Can I run Java EE Spring MVC project without Eclip

2019-09-18 05:16发布

问题:

I have Tomcat installed and it's working when I open a browser. I want to know that can I run a Java EE Spring MVC project without using Eclipse.

回答1:

You need to create a .war file (for example, using Export -> WAR file) and deploy it in Tomcat (via web interface of Tomcat Manager or by placing that file into webapps subfolder of Tomcat).