Skip to main content

Questions tagged [maven]

Apache Maven is a build automation and project management tool used primarily for Java projects. This tag is for questions that don't relate to a specific Maven version. Use the gradle tag instead for questions relating to Gradle.

0 votes
1 answer
71 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&...
Withered W.D.'s user avatar
2 votes
0 answers
48 views

How to work on JavaFX 19 Projects in Eclipse 2024-06? (shows "maven dependency not found" for Java FX, while earlier versions work)

I have the following issue with Eclipse 2024-06: A project that references <dependencies> <!-- Java FX --> <!-- https://mvnrepository.com/artifact/org.openjfx/javafx-...
Christian Fries's user avatar
1 vote
0 answers
9 views

Make frontend maven plugin install node_modules in the same directory as the package.json, NOT in a /node directory

How it works currently: during the generate-resource phase of maven build the frontend maven plugin installs all the dependencies in /node directory created in the working directory specified in the ...
Zdrzalik Przemyslaw's user avatar
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,...
quarks's user avatar
  • 34.7k
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 ...
Umang Lunia's user avatar
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 ...
mgcv's user avatar
  • 1
-1 votes
1 answer
20 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
0 votes
1 answer
29 views

Robot Framework run command giving issue "[ ERROR ] Suite 'Acceptance' contains no tests or tasks."

I am creating simple Robot framework project in Eclipse from one of the Youtube video (https://www.youtube.com/watch?v=H5LQJttkunQ ). Project Structure is like: Automation | src | test | ...
H1312's user avatar
  • 23
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 <...
Akshara Prasad's user avatar
0 votes
0 answers
13 views

Maven Build Failing with SSLContext Error When Downloading Plugin

I'm trying to execute a Maven build using the following command: mvn clean install. I encounter the following error message: [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:3.2.0 or one of ...
Sajed Hamdan's user avatar
-1 votes
0 answers
25 views

Import correctrly maven project from git

I would like to know what is the most correct method to import a maven project into eclipse downloaded with git clone and avoid the problem with the pom.xml and the related paths. I hope someone can ...
francis pass's user avatar
-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 ...
Abubakar Saeed's user avatar
0 votes
0 answers
13 views

Eclipse error when creating new maven project

In my Eclipse IDE I was created and run java programs without any issue, but when I was going to create a new maven project in archetype quickstart 1.1. Project creation stop in 33% and it shows ...
Dineth01's user avatar
-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 ...
dqdq dqsss's user avatar
-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>...
aCarella's user avatar
  • 2,474
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-...
KJ21's user avatar
  • 83
-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. ...
dan's user avatar
  • 813
0 votes
0 answers
13 views

cxf-java2ws-plugin:3.3.13 jd11 is not able to generate wsdl issue in classpath configuration

`complete deppendency is taking for classpath -cp for java2ws command , it should take traget/classes folder as classpath <plugin> <groupId>org.apache.cxf</...
naveen Doralli's user avatar
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> ...
peterh's user avatar
  • 19k
0 votes
0 answers
32 views

Migration from Artifactory to GCP artifact registry

I want to migrate our huge maven artifacts repository to the artifact registry on Google's cloud platform. The process seems is long, and manual upload of each artifact to the maven repo on GCP is ...
qKweint's user avatar
  • 25
-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 ...
alalalala's user avatar
  • 858
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
0 answers
8 views

Building Apache Zeppelin 0.11.1 without all interpreters

I'm trying to build tar.gz package of the Apache Zeppelin, version 0.11.1, with very minimal modules but when I check in the package I see all interpreters added and this makes tar.gz very fat. My ...
mixermt's user avatar
  • 383
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
0 answers
18 views

How can I warn users when they download an outdated jar from my maven repository in gradle?

Essentially, I'm looking for a way to output a warning message to gradle when a user has a dependency on one of my older jars from my maven repository. Is this even possible? Eg: "You've ...
mineblock11's user avatar
0 votes
0 answers
24 views

maven dependency tree verbose - version managed with same version

Following up on this question: maven dependency tree - version managed What if the 2 dependencies stated have the same version? For example, taking the example from above - [INFO] | | \- xalan:xalan:...
magiciansz's user avatar
-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 ...
Nkiru Ede's user avatar
1 vote
0 answers
42 views

IntelliJ idea closing and reopening my java project

I had a new installation of Intellij in macOS using m1 architecture and when I open my java project (spring boot/maven stack) the root folder are hidden/show every time. Soons like some maven build ...
Eduardo Gabriel's user avatar
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 ...
dqdq dqsss's user avatar

15 30 50 per page
1
2 3 4 5
2965