I have a Spring Boot JAR Application. When I run it, no browsers automatically show https://localhost:8080/
. But typing manually the mentioned URL works fine, and the application runs.
@SpringBootApplication
@ImportResource({ "classpath:applicationContext.xml" })
public class StockMaintenanceSystemApplication extends WebMvcConfigurerAdapter {
public static void main(String[] args) throws Exception {
SpringApplication.run(StockMaintenanceSystemApplication.class, args);
}
}
Do I need to set the URL(https://localhost:8080/)
anywhere? If not, please correct my code.