简体   繁体   中英

Spring - Tomcat Configuration - can not create a .war file

I created a new project in Spring Boot, but I have a problem with the Tomcat server configuration. I can not create a .war file to run this application.

在此处输入图片说明

在此处输入图片说明

在此处输入图片说明

Usually after creating a project immediately after pressing 'fix' I had to choose the .war patch, but here there is no such possibility.

To run the Sprint Boot application, you do not need a Tomcat server, just need to find a class with an entry point and run it.

But if you still need a Tomcat server, here are two steps that I hope will help you.

First step:

第一步

Second step:

第二步

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM