89,171 questions
-1
votes
0
answers
16
views
JavaFX Desktop Application. Executable for windows
Guys, I really need some guidance. I’ve written a lot of code and classes in IntelliJ IDEA for my JavaFX application, but I’m running into serious difficulties when trying to turn it into an ...
0
votes
0
answers
41
views
How to fix "ClassNotFoundException" when running Spring Boot jar built with Maven? [closed]
I built a Spring Boot application using Maven, and the project compiles without any errors. However, when I run the packaged jar using : java -jar target/myapp-0.0.1-SNAPSHOT.jar I get the following ...
0
votes
0
answers
20
views
Payara 7.2025.1 + payara-micro-managed + Arquillian + JUnit 5 - tests always pass outside container
I’m using Payara 7.2025.1 with payara-micro-managed, Arquillian, and JUnit 5. When I run my tests, a Payara Micro instance starts and deploys correctly, but it seems that the tests themselves are ...
0
votes
0
answers
53
views
sonar failed: An API incompatibility was encountered while executing org.sonarsource.scanner.maven:sonar-maven-plugin
I used sonar-maven-plugin 3.11.0.3922 on a java program which was compiled with jdk1.8.0_391_x64, but got the "sonar failed: An API incompatibility was encountered while executing org.sonarsource....
0
votes
2
answers
72
views
Cannot resolve org.springframework.boot:spring-boot-starter-parent:pom:3.5.5
When I run mvn clean install -U, I get the following output:
[INFO] Scanning for projects...
Downloading from central: https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-starter-...
1
vote
0
answers
108
views
Spring Boot's strange warnings in STS for Eclipse
Foreword: I have been looking for a possible solution for many days, finding nothing really similar to my problem.
I am reading Craig Walls's book "Spring in Action" (6th edition) to resume ...
0
votes
0
answers
70
views
Maven Dependency Plugin 3.4.0 fails with "Text file busy" when unpacking Linux ZIP dependencies
I recently upgraded the Maven Dependency Plugin from 3.3.0 to 3.4.0, and now my build fails during the unpack phase with the following error:
Failed to execute goal org.apache.maven.plugins:maven-...
0
votes
3
answers
86
views
Building a WAR package, that can be deployed under Tomcat and can be executed in the CLI as well
I would like to create a WAR package with maven, that can be deployed under Tomcat (9 or above) and also can be executed on the command line (= CLI). I already realised to make a package, that could ...
0
votes
0
answers
106
views
Need help compiling a JavaFx project [duplicate]
Created a JavaFX app using Java 21 and copied this tutorial to build my project
https://www.youtube.com/watch?v=udigo_qSp_k
I then created my project, and everything ran fine in an IDE. When trying to ...
Advice
0
votes
1
replies
53
views
Guidance on Upgrading Hibernate from 3.4.3 to 5.4.33 in a Java 8 / Java EE (Maven) Project
I'm in the process of upgrading Hibernate from version 3.4.3 to 5.4.33 in a Java 8 + Java EE application built with Maven.
So far, I haven’t been able to locate any official migration guides, ...
0
votes
0
answers
38
views
NoClassDefFoundError / ClassNotFoundException at runtime when using additional directories for classpath and spring-boot-maven-plugin for jar building
I have an application which I build with help of spring-boot-maven-plugin.
I excluded some of the dependencies from the jar (let's call it myJar.jar) (using the plugin's <configuration><...
-5
votes
0
answers
65
views
PAckages dont exist? [duplicate]
I'm working on a maven project, with this structure and this POM , but as you can see, vs-code says the packages dont exist. please help me strucutre and code, and the pom is as below.
I dont know ...
-4
votes
1
answer
57
views
Error: could not open `{argLine}' while running mvn clean install in intellij [closed]
While I am running maven clean install in intellij, I am getting this error Error: could not open `{argLine}'
0
votes
0
answers
33
views
Maven merging two profiles
I have two profiles with plugin maven-failsafe-plugin
<profile>
<id>cdc-tests</id>
<build>
<plugins>
<plugin>
<plugin&...
1
vote
1
answer
44
views
frontend-maven-plugin yarn:build Process exited with an error: 1
When trying to build in jenkins, running inside a docker container, yarn build fails with:
21:49:00 [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.9.1:yarn (yarn build) on ...
2
votes
1
answer
128
views
React-native-gradle-plugin cannot be resolved
I am working on a React Native application using [email protected] and I have an issue with Gradle during the .\gradlew clean. The error is this:
FAILURE: Build failed with an exception.
* What went ...
0
votes
0
answers
66
views
Maven WAR Plugin Unable to Find Directory
I have a maven-war-plugin configured in my pom.xml. Like this:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
&...
-1
votes
1
answer
84
views
Is it safe to use Maven 3.9.11? [closed]
In Maven 3.9.11 release notes, it mentions there is a known issue where there is a warning about using terminally deprecated method in Guice on JDK 24 (MNG-8760). Is it safe to use Maven 3.9.11 on JDK ...
0
votes
0
answers
73
views
Dependency conflict when upgrading arrow-kt to 1.2.4
I'm currently working on upgrading dependencies for a kotlin project that uses arrow kt. One of the libraries we use is arrow-fx-coroutines. After upgrading to the most recent 1.x version (1.2.4) I am ...
0
votes
0
answers
40
views
Excluding a webmodule from an ear
I have the following configuration inside my ear module:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ear-plugin&...
0
votes
1
answer
96
views
JUnit 5 tests not discovered with Maven Surefire on Spring Boot 3 + Java 21. Visual Studio Code [closed]
I’m having trouble running JUnit 5 tests in my Spring Boot 3 project with Java 21. When I execute:
mvn clean test
I always get:
[ERROR] TestEngine with ID 'junit-jupiter' failed to discover tests
[...
0
votes
2
answers
112
views
NoClassDefFoundError: org/slf4j/LoggerFactory when running in Intellij but works fine from the command line
I am having issues related to my tests which are failing because of slf4j-api being absent, which does not make sense because it is present as it is provided as a transitive dependency from one of the ...
-1
votes
1
answer
70
views
Maven Runner in IntelliJ
I am experiencing the following issue in IntelliJ's Maven Runner:
When I specify a trust store via Settings -> Maven Runner -> VM Options
and enter the TrustStore there (I need this for a ...
0
votes
0
answers
66
views
maven-surefire-plugin does not work in tycho, uses junit4 when explicitly executed
This might be two different problems, but I suspect both related to tycho, this is why I ask them together.
I have a project using eclipse-test-plugin packaging. As I could not get tycho-surefire-...
-4
votes
1
answer
673
views
Provides transitive vulnerable dependency maven:ch.qos.logback:logback-core:1.5.18 CVE-2025-11226 6.9 Conditional processing of logback.xml
After reinstalling IntelliJ IDEA ULTIMATE (Now : 2025.2.3) I've got this warning message :
Provides transitive vulnerable dependency maven:ch.qos.logback:logback-core:1.5.18 CVE-2025-11226 6.9 ...