Skip to main content

All Questions

Tagged with
0 votes
0 answers
31 views

Issues with Routing on Tomcat with Spring Boot and React Application

I'm facing an issue with routing on Tomcat. I'm receiving a ready-made .war file which contains the built files from a React app located in the resources/static folder. After rebuilding with Maven, I ...
TOMczeski's user avatar
-2 votes
0 answers
24 views

Issue in spring-boot war startup in external tomcat due to unwanted spring jar

I am trying to run an spring-boot web application war file in external tomcat where many other applications (Spring and not spring-boot) are already running. There are some dependencies at some shared ...
DpkTheJavaCoder's user avatar
0 votes
1 answer
62 views

Hot Reload/Hot Deployment in Tomcat using VS Code

I'm trying to enable hot reload for tomcat using vs code. Since "tomcat for java" extension has been deprecated which makes me use "community server connectors" extension in vs ...
ha33an's user avatar
  • 1
0 votes
1 answer
39 views

Import Beans from custom library to springbootAplication from a different project

I have been struggling trying to create a library with the use of the beans from it to a different project and call a method from it Stack is: Springboot 2.3.4 and Java 1.8 with Maven The projects ...
Dante's user avatar
  • 34
0 votes
2 answers
114 views

Publishing a Spring Boot application on a production server and managing updates

I would like to ask about the experience of a production run of a Spring Boot web application, with embeded Tomcat, based on Maven or Gradle. So far I have been working with a vanilla Spring ...
Jakub Królikowski's user avatar
0 votes
1 answer
56 views

Unable to read pom.xml inside META-INF folder of Spring war deployed on Tomcat

I am trying to read pom.xml file as I need get list of dependencies. When I run SpringBoot application using STS or Eclipse, I am able to read file using below line as POM file is present inside ...
Joginder Pawan Kumar's user avatar
0 votes
0 answers
35 views

Changes to code don't apply if i use IDE when i compile Java with Maven for Tomcat

When i use "maven clean install compile" for my java project in Eclipse, NetBeans or VSCode, and then move files to my Tomcat server folder my code doesn't change on my server, and when i ...
yasha_tester's user avatar
0 votes
0 answers
30 views

JSF 3.0 on Tomcat 10.x throws java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet [duplicate]

I created a new Maven project and would like to use Tomcat 10.1.20 and JDK 21 my application doesn't start and gives the error: : SEVERE [http-nio-8080-exec-7] org.apache.catalina.core.StandardContext....
afterbit's user avatar
  • 397
1 vote
3 answers
133 views

Java Servlet does not recognize my route/class [duplicate]

I am running a Java servlet using JDK 17, Tomcat 9.0 and Maven on VSCode. I am facing the problem that, when I create a new class to use a new route, Tomcat returns me an Error 404 saying that "...
santache's user avatar
0 votes
0 answers
15 views

I need SSO and Maven to work together in a Tomcat 9 Eclipse project, I have check the usual suspects but I think I missed something

Tomcat 9.0.87 msal-b2c-web-sample My server and maven looked to be built correctly, but I get that 404 error. it does not make sense to me why to projects that are built correctly cant mix, am I not ...
Juan Rios III's user avatar
-1 votes
1 answer
63 views

Maven including multiple versions of spring dependencies

I have this project that I am trying to get to run. Tomcat is having a issues but I noticed that I have multiple versions of spring packages and I cannot figure out where the spring 3.2.2 jars are ...
Ricardo Saracino's user avatar
0 votes
0 answers
32 views

VSCode tomcat project fails to publish

I am trying to setup tomcat in VSCode. Previously I was working with Eclipse. Plugins that I'm using for that: Community Server Connectors Runtime Server Protocol UI Plugins for Java and Maven. Now ...
Tony's user avatar
  • 56
0 votes
0 answers
160 views

HTTP Status 404 – Not Found from apache tomcat 10

I am trying to run a war file on tomcat 10 and getting "HTTP Status 404 – Not Found" error while accessing the homepage and any other page. I have double checked everything and configuration ...
Vineet Jain's user avatar
0 votes
0 answers
37 views

Maven War file issue at tomcat server | Ubuntu

I have a problem with my WAR file. I wrote application in Java using maven with Spring boot and Spring MVC. After packaging i pushed file to an ubuntu server at path /opt/tomcat/webapps. Currently I ...
Clipper's user avatar
0 votes
0 answers
302 views

org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'

Failed to start bean 'webServerStartStop' at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:182) ~[spring-context-6.0.11.jar:6.0.11] at ...
hajar amani's user avatar

15 30 50 per page
1
2 3 4 5
181