Cannot deploy Spring Boot on jBoss EAP 6.3.3 -


i using spring tool suite version: 3.7.0.release deploy spring boot project using tc server works fine fails on jboss eap 6.1+. jbweb000065: http status 404 - /shell/

shellapplication.java

@springbootapplication @componentscan("shell") public class shellapplication extends springbootservletinitializer {  @override protected springapplicationbuilder configure(springapplicationbuilder application) {     return application.sources(shellapplication.class); }  public static void main(string[] args) {       springapplication.run(shellapplication.class, args); }       } 

src/main/webapp/web-inf/jboss-web.xml

<?xml version="1.0" encoding="utf-8"?> <jboss-web>     <context-root>/</context-root> </jboss-web> 

console log

13:41:36,460 info  [org.jboss.as.server.deployment] (msc service thread 1-7) jbas015876: starting deployment of "shell.war" (runtime-name: "shell.war") 13:42:15,089 info  [org.jboss.web] (serverservice thread pool -- 53) jbas018210: register web context: /shell 13:42:17,332 info  [org.jboss.as.server] (deploymentscanner-threads - 2) jbas018559: deployed "shell.war" (runtime-name : "shell.war") 

browser

jbweb000065: http status 404 - /shell/  --------------------------------------------------------------------------------  jbweb000309: type jbweb000067: status report  jbweb000068: message /shell/  jbweb000069: description jbweb000124: requested resource not available. 


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -