So I have a regular Intellij java project, now I was asked to create a .war from this so it can be deployed on a tomcat server. However, when I google this, every link assumes I have a web application but I don't. If anyone could help me out with this, it'd be greatly appreciated.

有帮助吗?

解决方案

Either deploy the project as a jar, referenced from a web application, or else convert it to a web application. Tomcat doesn't have a lot of use for java code that isn't called anywhere.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top