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
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