Acid0
Executive Member
Hi there
I need some help from the people that works with Springboot and deploying their apps on tomcat 9.
IDE: IntelliJ Ultimate edition
IDE JDK : was 8 then changed to 10 then to 14 same results
Springboot 2.3.1
JVM: 10
Tomcat : v9
My Application works perfectly when running from the compiler.
Springboot starts, my internal tomcat starts and I am able to make requests from POSTMAN.
I can do a simple tomcat request with their default service example like http:localhost:8081/docs and get a response back
Once I create a WAR file and deploy it to tomcat server and try to do a request I get the following response back from Postman
The request is a simple GET to "http://localhost:8081/users" as a test
Can anybody shed some light on what I can try to fix this issue.
Regards
I need some help from the people that works with Springboot and deploying their apps on tomcat 9.
IDE: IntelliJ Ultimate edition
IDE JDK : was 8 then changed to 10 then to 14 same results
Springboot 2.3.1
JVM: 10
Tomcat : v9
My Application works perfectly when running from the compiler.
Springboot starts, my internal tomcat starts and I am able to make requests from POSTMAN.
I can do a simple tomcat request with their default service example like http:localhost:8081/docs and get a response back
Once I create a WAR file and deploy it to tomcat server and try to do a request I get the following response back from Postman
The request is a simple GET to "http://localhost:8081/users" as a test
Code:
<body>
<h1>HTTP Status 404 – Not Found</h1>
<hr class="line" />
<p><b>Type</b> Status Report</p>
<p><b>Message</b> The requested resource [/users] is not available</p>
<p><b>Description</b> The origin server did not find a current representation for the target resource or is not
willing to disclose that one exists.</p>
<hr class="line" />
<h3>Apache Tomcat/9.0.35</h3>
</body>
Can anybody shed some light on what I can try to fix this issue.
Regards