All Questions
48,669
questions
0
votes
1
answer
72
views
Why does my IntelliJ say that there's an error in my pom.xml?
Recently I added a pom.xml file to my java project in IntelliJ IDEA and I then made it into a Maven project. Though when I opened the pom.xml back again with IntelliJ, I saw 2 errors at "project&...
2
votes
1
answer
56
views
maven dependency not found with Java FX 19 on Eclipse 2024-06 but not earlier
I have the following issue with Eclipse 2024-06: A project that references
<dependencies>
<!-- Java FX -->
<!-- https://mvnrepository.com/artifact/org.openjfx/javafx-...
0
votes
1
answer
41
views
IntelliJ IDE Cannot Find javax.annotation.processing.Generated Symbol While mvn test Works Correctly
I am having a problem with my project configuration and running the program and unit test. When running with mvn test the JUnit test executes propertly, but when executing from within the IntelliJ IDE,...
0
votes
0
answers
47
views
Importing external packages in Java
I'm trying to import the jbox2d package with import org.jbox2d.*; to my Java project (not a Maven project). I cloned the jbox2d package with the command - git clone https://github.com/jbox2d/jbox2d. I ...
0
votes
0
answers
39
views
Packaging cross-platform Appimages and DEB Packages in Linux missing dependencies
I have a JavaFX Application, and I'm using maven to distribute it. Currently, I first create a runtime image of my program with jlink, and then package it with jpackage.
However, if I package either a ...
-1
votes
0
answers
40
views
Maven Local Repository Works in IntelliJ but Fails in JAR/EXE
I'm using a local repository for some dependencies in my Maven project. The local repository works fine when I run the project in IntelliJ IDEA. However, when I create a JAR or EXE file and try to run ...
-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 ...
-1
votes
0
answers
23
views
How do I pass a Java Maven project's version value from the pom.xml to a Bitbucket pipelines YAML file?
I have a Spring Boot Maven Java project. My POM file has a version number property in it of 1.2.3, as seen below:
<project ...>
<modelVersion>#.#.#</modelVersion>
<groupId>...
-1
votes
0
answers
12
views
JaCoCo always generates aggregate report in a non-module project, won't display coverage in Maven Site
I have a single Java 11 library (jar) project whose Maven pom refers to a parent pom for common properties and configuration. There are no submodules and the parent pom doesn't have any submodules. ...
1
vote
1
answer
43
views
Maven repository lookup order - always try central first
I need to use artifacts from a third-party repo in my project.
Therefore, I add the following to my POM:
<repositories>
<repository>
<id>bunch-of-cowboys</id>
...
-1
votes
0
answers
40
views
When running the main class using mvn exec:java, classes in rt.jar are not referenced
My java version is 8.0.372-zulu/zulu-8, maven version is 3.6.0
I have a problem that really bothers me.
I set up a maven project and use apache poi to process excel.
The code is simple as I just ...
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 ...
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 ...
-1
votes
0
answers
34
views
Maven dependency release dates [closed]
I've noticed that some Maven dependencies have release dates earlier than the components they depend on. I'm investigating the reasons behind this and suspect that the upstream component might have ...