Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • You should not need to do anything special. Have you tried running it on your Tomcat? If so, what error(s) are you seeing? Commented Aug 22, 2016 at 18:05
  • I'm not even getting the run on server option when I right click the project. I've added a server. Commented Aug 22, 2016 at 18:10
  • I think you either need to create a WAR and upload it to Tomcat (I usually use the GUI), or create a configuration like this. Commented Aug 22, 2016 at 18:46
  • 1
    You're saying it works fine on embedded Tomcat? Cause I do believe the issue is that in the SpringBootServletInitializer you're mapping the app to /app but with the embedded one it will run on /. And if you look at the error it is trying to connect to localhost:8080/hello but should use localhost:8080/app/hello. Commented Aug 25, 2016 at 17:32
  • 3
    If I understand it correctly your context on standalone tomcat is as follows localhost:8080/opl-ws-webui so I think you should connect to localhost:8080/opl-ws-webui/hello/info instead of localhost:8080/hello/info right? Commented Aug 29, 2016 at 13:19