java - Converting a Spring Boot JAR Application to a WAR -


i have tried run "converting spring boot jar application war" application converting war package instructed...and since mentioned void main() no longer needed,i removed , tried build using gradle throws error unable find main class.

the content of class after modification below

application.java  @configuration @enableautoconfiguration @componentscan public class application {  } 

what mistake making?

if don't want executable war remove spring boot plugin. if do, leave in, , keep main().


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -