springBoot application on Jboss EAP, servlet context not lodaed

前端 未结 3 1845
遇见更好的自我
遇见更好的自我 2020-12-31 18:34

I have a very simple spring boot application that I want to deploy to Jboss EAP. Here is my simple application class:

@SpringBootApplication

public class M         


        
3条回答
  •  情书的邮戳
    2020-12-31 18:49

    Found this in Spring Boot Reference Guide, add the below line in application.properties file

    server.servlet-path=/*
    

    tested this in jBoss EAP 6.2 and worked fine.

提交回复
热议问题