All Questions
Tagged with maven spring-boot
6,695
questions
0
votes
0
answers
16
views
How to exclude files from running in testResource
Trying to exclude the files in path "/path/to/exclude/" while running the unit test cases in
"path/to/directory" . Unfortunately the following snippet is not working in pom.xml
<...
-1
votes
0
answers
34
views
Spring boot: Why am I getting this 404 Error?
Just to give a little background on the project; I'm making a Spring Boot project using Maven. I have a two microservices, one called "products" and one called "config-server" to ...
0
votes
0
answers
12
views
failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.1.0:exec, command execution failed, CreateProcess error=193
I am trying to run a spring-boot maven project in local environment.
Build is failing due to error.
Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.1.0:exec (spec1) on project abc-xyz-...
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 ...
-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 ...
1
vote
1
answer
63
views
Spring Boot: Error 404 when accessing localhost endpoint
Just to give a little background on the project; I'm making a Spring Boot project using Maven. I have a two microservices, one called "products" and one called "config-server" to ...
0
votes
1
answer
25
views
Google OAuth2.0 Callback on Java Spring returning different redirect_uri
I'm currently developing a program that using google sheet API to get some data. I tried deploying it onto Amazon EC2 (Amazon Linux) and configured SSL using Let's Encrpyt. Everything is working fine ...
-1
votes
0
answers
58
views
Springboot application working using command line but failed to start using IntelliJ IDE
I am looking to build and run the source code on my Mac(Springboot application and using java version 17), I have successfully build and run the application (using command line) by using these ...
0
votes
0
answers
35
views
Maven dependencies configuration in pom.xml [closed]
I am working on a Java project i am not an a programmer however i do it fully with chat gpt 4, sometimes it solve the problems and find the right dependencies but most of the times like now it dont ...
0
votes
1
answer
104
views
Error with Swagger Integration in Spring Boot: java.lang.TypeNotPresentException: Type javax.servlet.http.HttpServletRequest not present
I'm trying to implement API documentation using Swagger in my Spring Boot application, but I keep encountering this stack trace when attempting to run the application:
Can someone elaborate, why this ...
-1
votes
1
answer
39
views
Cannot find spring-boot-starter-oauth2-client no matter the version
I am trying to import the spring-boot-start-oauth2-client into my pom.xml. I have tried using different versions and no matter which version I use, this error pops up:
Dependency 'org.springframework....
0
votes
0
answers
22
views
maven transtive dependency scope issue
Hi All when i am executing maven build (./mvnw package) getting below error
RestTemplateConfig.java:[5,35] package org.apache.http.impl.client does not exist
but the same project is working fine on ...
0
votes
0
answers
50
views
Jenkins build is failing, After upgrading spring boot version from 3.0.0 to 3.3.0
[click here for logs screenshot][2]
Upgraded spring boot version to 3.3.0
maven-surefire-plugin - 3.2.5
Maven-failsafe-plugin - 3.2.5
Jacoco-maven-plugin- 0.8.11
Upgraded these maven related plugins ...
0
votes
1
answer
49
views
How to fix a BeanCreationException for handlerExceptionResolver in Java Spring after upgrading to Spring Boot 3.x and Spring 6.x?
My application uses both Spring Boot and Spring dependencies. Due to a security vulnerability in spring-web, we have to update from 5.3.33 to 6.x. Currently we are using Spring Boot version 2.7.18, ...
-1
votes
1
answer
68
views
Unable to run maven clean install or mvn package always get these erros
mvn clean install and mvn clean package always fails and I always get the message below:
[ERROR] io.muzoo.ssc.springwebapp.SpringWebappApplicationTests.contextLoads -- Time elapsed: 0.028 s <<&...