Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
-1 votes
0 answers
23 views

'npm run build' failed in Github actions and frontend-maven-plugin for Java spring-boot app

I am building a monolithic app using Java spring-boot and Reacjs for UI. My repository is hosted on Github and I am using Github Actions to build the repo on every commit. I am using the frontend-...
cptdanko's user avatar
  • 830
1 vote
1 answer
32 views

Spring Boot Application Runs in IntelliJ IDEA but Fails with mvn install Due to JDBC URL Error

I'm encountering an issue with my Spring Boot application. It runs perfectly fine when I start it directly from IntelliJ IDEA by clicking the play button. However, when I try to build the project ...
Ramiro Schettino's user avatar
0 votes
1 answer
30 views

When i am. trying to run spring intializr using ./mvnw spring-boot:run. it showing the error

[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.3.2:run (default-cli) on project initializr: Unable to find a suitable main class, please add a 'mainClass' property -...
jayaprakash dash's user avatar
-1 votes
1 answer
26 views

Is there any chance to get the vulnerability fixed for spring-web and spring-webmvc version 5.3.37?

Recently I'm migrating spring boot legacy application from spring boot version 1.x to 2.7.x and used spring-web and spring-webmvc artifact with version 5..3.37 which is having 1 vulnerability. I'm ...
Debarshi Saha's user avatar
-2 votes
1 answer
31 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
-1 votes
0 answers
13 views

Debug kotlin in spring boot maven java

https://github.com/fwcd/vscode-kotlin/issues/154 Can i debug kotlin (vscode) in spring boot maven java (i only use kotlin build controller) can debug kotlin when run app java , i want when run spring ...
Duong's user avatar
  • 9
-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 ...
Umair_007's user avatar
  • 131
0 votes
0 answers
26 views

Maven test pass, but with install tests fail

I'm using maven, liquibase in project and spock with groovy to test java code. Normally my tests pass, but when I'm using packaging/install then tests fails with error of spring context initializing ...
Cezary's user avatar
  • 35
1 vote
0 answers
59 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 ...
vijay's user avatar
  • 11
0 votes
0 answers
28 views

Maven exception: has been compiled by a more recent version of the Java Runtime (class file version 61.0) [duplicate]

i wrote default java spring code built by maven, but i have this exception: java.lang.UnsupportedClassVersionError: org/springframework/context/support/ClassPathXmlApplicationContext has been compiled ...
tonkax's user avatar
  • 1
0 votes
0 answers
61 views

I'm having issues with setting up flyway migrations with a postgres database

After hours of trials and tribulations, I'm trying to set up flyway migrations so I can easily create database tables within my project. Here is my current POM file: <?xml version="1.0" ...
tcampbell649's user avatar
-2 votes
0 answers
39 views

Spring Web Application do not create executable jar file in Intellij Idea

I am trying to create an executable jar file for deploy in Intellij Idea Instead of that "mvn clean package" starts an application (that is working for sure) but there is no jar file in \...
Роман Бачев's user avatar
0 votes
0 answers
43 views

Error creating bean with name 'filterChain' defined in class path resource

I'm currently following a guide to set up Spring Security for my application, I don't fully understand what's going on with the code so it's a bit hard to debug. The methods that are deprecated are: ...
Nabeel Elberry's user avatar
0 votes
0 answers
27 views

cannot access ResourceSource

I faced with compile error: [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [...
serhii's user avatar
  • 1
1 vote
2 answers
98 views

Java Spring API NoClassDefFoundError: javax/persistence/EntityManagerFactory

I want to create my first Java API with Spring, so fir start I decided to make a simple API which allow to list all person, one person by id and create one person. I success the compilation but when I ...
Guillaume's user avatar

15 30 50 per page
1
2 3 4 5
580