Show pageBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Run Spring Not as Server ====== Under the directory /scr/main/resources/application.properties, add the following line: <code> spring.main.web-application-type=NONE </code> In that case, Spring will run as application, and end once it task is completed. You might want to implements CommandLineRunner in your main application class in that case. springboot/run_spring_not_as_server.txt Last modified: 2020/12/10 14:48by chongtin