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.
maven
88,944
questions
-1
votes
0
answers
47
views
How to prevent maven from upgrading libraries of custom imported library?
I am having 2 projects, let's say project API and project Consumer. The API project is meant to be used as a library that I can import in project Consumer as a maven dependency. Project API has the ...
2
votes
0
answers
31
views
How to check module settings and project settings?
IDEA show Following modules override project settings: ...
But I don't know which setting is different. How should I find the difference?
And How to view project settings and module settings?
I just ...
0
votes
0
answers
73
views
ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0 - java.lang.NoSuchFieldError: com.sun.tools.javac.tree.JCTree
I'm encountering a fatal error while trying to compile my Maven project. The error message is as follows:
This Project is not using Spring Boot/Spring Framework which makes it different from other ...
-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 ...
0
votes
0
answers
103
views
how to use resources with maven [duplicate]
I created a Maven project to use JavaFX.
I have two folders:
src/main/java/application containing my source code.
src/main/resources which must contain the resources.
I found some Java code that ...
1
vote
0
answers
17
views
Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.3.1 : Operation not permitted
I working on a quarkus application. I was able to compile it locally and everything is working fine. But when trying to dockerize it it throws me this error :
copying /src/src/main/resources/...
0
votes
0
answers
25
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 ...
0
votes
0
answers
37
views
Change Maven Repository Order
Our enterprise team maintains a settings.xml file that defines various repositories that development teams can use with Maven to build their artifacts.
<repositories>
<repository>
...
0
votes
0
answers
35
views
Maven dependencies configuration in pom.xml [closed]
I am working on a Java project i am not an a programmer however i do it fully with chat gpt 4, sometimes it solve the problems and find the right dependencies but most of the times like now it dont ...
0
votes
0
answers
24
views
Quarkus: Stopping server process: Dev mode process did not complete successfully
IntellIJ 2024.1.4, Quarkus 3.12.1, Maven 3.9.8
Clicking button in IntellIJ to stop Quarkus example getting-started:
Failed to execute goal io.quarkus.platform:quarkus-maven-plugin:3.12.1:dev (default-...
0
votes
1
answer
104
views
Error with Swagger Integration in Spring Boot: java.lang.TypeNotPresentException: Type javax.servlet.http.HttpServletRequest not present
I'm trying to implement API documentation using Swagger in my Spring Boot application, but I keep encountering this stack trace when attempting to run the application:
Can someone elaborate, why this ...
0
votes
0
answers
27
views
jenkins selenium project windows installer
I'm running Jenkins in the Windows installer Test cases are running without opening the browser but test cases are running
Browser: chrome
Starting ChromeDriver 125.0.6422.78 (...
0
votes
2
answers
50
views
How to conduct Groovy compile-time error check, but without @TypeChecked or @CompileStatic?
A springboot gateway project, written with Groovy, i.e., all the Controller and Service are in *.groovy.
In fact, the code is totally java-style. Using groovy is only for hot update. So we don't need ...
-1
votes
1
answer
39
views
Cannot find spring-boot-starter-oauth2-client no matter the version
I am trying to import the spring-boot-start-oauth2-client into my pom.xml. I have tried using different versions and no matter which version I use, this error pops up:
Dependency 'org.springframework....
-1
votes
0
answers
26
views
How do I identify which layer I need to include in my wildfly-jar-maven-plugin in order to load a specific extension?
I have an Maven application I am attempting to containerize. The current build pipeline uses manually compiled EAR and WAR files and a standalone.xml file, so I've updated the source code so that ...