Spring Java Config vs Jboss 7

前端 未结 8 1623
故里飘歌
故里飘歌 2020-11-28 14:41

I`m trying to run a simple application with spring java based configuration on jboss, but no success. This application works fine both on jetty and tomcat. The jboss log loo

8条回答
  •  时光说笑
    2020-11-28 15:13

    I'm using Spring Boot 1.3.1 and JBoss EAP 6.4. And I found with that in your project you can add to src/main/resources/application.properties this line:

    server.servlet-path=/*
    

    Also, if you're launching this out of Eclipse, be sure to clean your project... I blew a lot of time because of that alone.

提交回复
热议问题