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
Post a Comment