Most voted "maven" questions
Apache Maven is a software knowledge and project management tool. This tag should be used for questions that do not concern a specific Maven version.
Learn more…317 questions
Sort by count of
-
0
votes1
answer345
viewspom.xml in Spring is not working!
Independent of the boot version keeps giving me error. could someone help me solve these pom problems?…
-
0
votes1
answer276
viewsWhere is pom.xml?
I’m starting in Java and according to the booklet there should be a file called pom.xml in the project, but I cannot find.…
-
0
votes0
answers99
viewsMaven does not export all Classnotfoundexception jars
I have a web project (.War) and it exports SOME jars to WEB-INF/lib folder, as it does not export the jar org.json and I’m getting Classnotfoundexception! I am using Maven, would like to know how I…
-
0
votes1
answer1915
viewsTomcat 8 + Project Maven error
I am with the following error when starting the project, someone already had this problem? SEVERE: A child container failed during start java.util.concurrent.ExecutionException:…
-
0
votes1
answer121
viewsError deploying a Maven project
This is my first complete project with Maven, when I spin in the IDE works perfectly but when I do deploy on the server Tomcat some mistakes happen. Error that happens when I try to enter the system…
-
0
votes1
answer511
viewsJSF dependency conflict with Maven
I created a Maven project in Eclipse with JSF 2, project has been evolving well, running on Tomcat 8 smoothly and that’s where I started implementing the reports so I put the dependencies for Jasper…
-
0
votes1
answer111
viewsProblem using Gson in Wildfly
I am trying to use GSON in a Maven EJB project but gives the following error: java.lang.NoClassDefFoundError: com/google/gson/Gson When I test in class main without uploading the server to lib works…
-
0
votes1
answer269
viewsSpring MVC + Maven + Bootstrap Problem
Good morning. I’m trying to put bootstrap on the index of my application but I’m not getting it, index does not read CSS. I searched on the Internet and from what I understood, css should be within…
-
0
votes2
answers725
viewsSolution of exceptions Serviceexception and Failed to execute Goal org.codehaus.mojo:exec-Maven-plugin:1.2.1:exec?
The following error is occurring: Serviceexception and Failed to execute Goal org.codehaus.mojo:exec-Maven-plugin:1.2.1:exec? I have already changed the name of the Provider from…
-
0
votes1
answer699
viewsIgnore files from target folder
How do I ignore the files in the folder target maven’s? I want to ignore them so that the git don’t see the files.
-
0
votes1
answer68
viewsRunning Java Webservice out of eclipse with Maven
Hello, I have a webservice project that runs normally on my computer, using the eclipse and Tomcat. And now I want to transport this project to a server and have it run only with Tomcat. There also…
-
0
votes1
answer255
viewsError using Hibernate to generate tables and doubts about
I am creating a webservice using Maven to manage the dependencies of my project. At the moment, I’m looking to create a database based on my models. I have four doubts and a problem in my attempt:…
-
0
votes0
answers444
viewsFolder ".m2" for the file Settings.xml in Windows Server 2008?
I have a Java EE application with Wildfly-10.1.0.Final server that uses this folder to add the file settings.xml , but inside Windows server 2008 I don’t have this folder in user, how could I do…
-
0
votes1
answer195
viewsJenkins does not compile Maven tests but Netbeans does
I’m having a difficult problem to solve. When I run Netbeans’s "clean install" of Maven, it ends the process successfully. When running Jenkins, the process fails when trying to run the tests,…
-
0
votes1
answer26
viewsDoubt except that it does not let start a Maven project
I cannot start a Maven project in Eclipse, I have already configured the environment variables and recognized the version. I don’t understand is Exception and how to run Maven in Eclipse Error:…
mavenasked 7 years, 1 month ago Rafael Perracini 71 -
0
votes0
answers37
viewsException leaves no application startar
Below is my pom.xml and the exception that appears on the console. I have already followed all the recommendations I found, in general they say to redo the steps until generating the project or to…
-
0
votes1
answer148
viewsConvert project to Maven with EAR, which best way?
Hello, I would like to know what would be the best way to convert this project into Maven so that it can recognize the "Shared.War", "facede.jar" and be packaged as ". ". I’ve done some conversions…
-
0
votes1
answer87
views -
0
votes3
answers320
viewsWhere to put the files?
When we use Spring and Maven, where should we put the files? in the webapp folder or in the Webcontent folder?
-
0
votes1
answer133
viewsMaven Dependency Tree
I’m having some version conflict issues in my project dependencies and command mvn dependency:tree is not enough, because I have many dependencies and it is difficult to identify which dependencies…
mavenasked 6 years, 9 months ago Tássio Auad 1,482 -
0
votes1
answer628
viewsError in pom.xml
I am working on a project, I used the eclipse IDE java tool and I configured my project to Maven project, and in this I configured my pom.xml to run Hibernate + jpa and this occurred me the…
-
0
votes0
answers219
viewsError while running Maven Tomcat
I’m giving a study on Spring used the Maven, while trying to run the Tomcat with the command mvn tomcat:run gives an error that does not happen when I run it in Tomcat7 configured in Eclipse. That…
-
0
votes0
answers47
viewsAdminfaces - Failed to read Artifact Descriptor
Good morning, I’m starting with the Admin-Faces. By including the dependency to the project (eclipse), I’m getting the error below: org.eclipse.Aether.resolution.Artifactdescriptorexception: Failed…
-
0
votes1
answer83
views404 - Java EE Maven Project with Spring returns 404
I am having problems with the Spring configuration of my Maven project, in which to test if everything was working, a simple hello world did not work and apparently there are no explicit errors,…
-
0
votes1
answer2990
viewsHow to import and configure a Maven project with Tomcat server in Intellij?
I have a simple project and would like to run this project in Intellij IDE, but I believe that unlike Eclipse, the IDE requires other settings in parallel to import. I would like to know how this…
-
0
votes3
answers289
viewsOimundoservlet.java - #algaworks
I am following the E-book "Java EE7 With JSF, Primefaces and CDI". I created the Maven project, edited the file pom.xml how the workbook guides, when creating the example file OiMundoServlet.java, I…
-
0
votes1
answer139
viewsHow to pass environment variables to Maven on command line?
I want to pass values of environment variables to Maven via command line. How to do? Attempts: mvn liquibase:update -Dliquibase.url=$DB_URL: Maven executes, but the value is not passed mvn…
mavenasked 6 years, 2 months ago igventurelli 4,441 -
0
votes1
answer408
viewsHow to Design Spring Boot?
I am doing a Spring Boot course but I believe I am versioning incorrectly, because I can not run the application after giving a git clone. I’m used to the versioning of Angular and Node, as it is…
-
0
votes1
answer23
viewsHow to find the mockite method according to the package?
I’m trying to find the mockito library according to the package below; import static org.mockito.ArgumentMatchers.any; I’ve tried these jars libraries, but no results; mockito-core-1.9.5.jar…
-
0
votes2
answers129
viewsBuild error of . jar via command line in Spring Boot/Postgresql
I have an application of Restapi studies and I am using Spring for such purpose. When compiling the jar via command line, this error appears below. I have changed driver version and not solved.…
-
0
votes0
answers1229
viewsJava, Cucumber, Maven - Feature runs without any class
I did a test automation project using Eclipse + Java + Maven + Cucumber + Selenium I have the following problem: Since I’m not using git yet, I exported this project to a file. zip, and in my work…
-
0
votes2
answers648
viewsHow to generate the jar file with Maven commands?
I am in a Spring Boot project, I am managing to generate the jar file through the eclipse tool as you can see below; 2 Stage; 3 Stage; Last; But when I run through Maven it generates several errors…
-
0
votes1
answer320
viewsMaven changing the faces-config.xml
I have an EJB project and my Maven keeps changing the faces-config.xml when I run "mvn install", Maven changes everything inside it leaving without the paths I specify, follows my "pom" file of the…
-
0
votes1
answer302
viewsHow to run commands in the Maven plugin for Eclipse?
I use the Maven plugin for Eclipse but I don’t know much about technology. You can run Maven commands (even typing: mvn compile for example) without having to install Maven separately? The answers I…
-
0
votes1
answer100
viewsError - Java Maven Does Not Build - Release Version Not Supported
Good afternoon, everyone, I installed intellij alone in Ubuntu version 18.4. I need to do a Maven project. I did a test, created the project and in a class to make a simple Hello world. However only…
-
0
votes1
answer124
viewsError generating jar project
I wanted to generate a JAR of the project I made in Maven(simple). But it generates this error. Why generated this error? [INFO] --- maven-war-plugin:2.2:war (default-war) @ teste-MODEL --- [INFO]…
-
0
votes1
answer30
viewsinject CDI Beacons into during testing using Arquillian Chameleon
I’m unable to inject with CDI @Inject. The field movimentador If the contract is void. I believe it is because of Beans.xml, but how do I create Beans.xml using Maven-build-Deployment, because I am…
-
0
votes1
answer1000
viewsMaven Settings.xml file not found
I am following the following article: JBOSS/WILDFLY Maven plugin for deploy LOCALHOST/REMOTE server. I want to implement this in the project I have here to do continuous integration, testing using…
-
0
votes1
answer156
viewsDifferences in Jenkins build?
I set up Jenkins to "build" a project from a git repository, I’m using Maven: Warning: JAVA_HOME Environment variable is not set. Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06;…
-
0
votes1
answer21
viewsWhere to put new packages in a Maven project in eclipse?
I am learning to use JPA with Maven in Eclipse, and I intend to use the MVC design pattern, when I create the project, I have the following vision: Well, I wanted to know in which folder I should…
-
0
votes1
answer112
viewsInsert license as dependency on a Maven project
EDIT: the problem still persists, posted below, in my reply, new information about the problem. Thank you. Hello! I did some tests using the Jxbrowser library and I intend to use it in my academic…
-
0
votes0
answers255
viewsJava + postegre connection problem in Heroku
Trying to connect java to the Heroku database (postgre), I have checked the url several times and there are no errors. I am not using Hibernate. By pgadmin I can enter it into the database normally.…
-
0
votes0
answers17
viewsCreate Maven dependency between packages
Hello, there is a way via Maven to import only the classes of a project without the dependencies? <dependency> <groupId>basic-service</groupId>…
-
0
votes0
answers50
viewsHow to add a set of libs jar in Maven at once with Vscode?
I wanted to know if this is possible, I have a dependency hit .jar to install(100 .jar of libraries roughly), but the problem is that I have to search each of them and add in pom.xml to work on…
-
0
votes0
answers14
viewsDoubt - List of dependencies that do not exist in the repository
Good afternoon, I wonder if there is a Maven command that parses pom.xml and tells all the dependencies that are in the pom.xml file and are not in the repository. I even found a command mvn…
-
0
votes1
answer57
viewsJSF - Deploy problems with Wildfly and Tomcat9 (web.xml and faces-config)
Hello, everybody! Good morning. I have a big problem that p/ me is bizarre. I have a little project here very simple, but I’m not getting up. When I run it from the entire project (right click - Run…
-
0
votes1
answer21
viewsProblems with Maven
Hello I read how Maven works, but there is one thing I don’t understand I will depend on Maven after creating my executable program ? i’m a beginner in java, I would also like to know how to use the…
-
0
votes1
answer293
viewsHow to create the Docker file from a Maven java SE program?
I actually wrote a Java SE Maven application using netbeans and made a CRUD for some entities that are scanned in the database through JPA. I was wondering if it is possible to run a textual…
-
0
votes2
answers337
viewsJSF tags are not being converted to HTML
I created a Maven project in Eclipse to use JSF and made all the settings the material asked for. However, when I created a XHTML file and went around in the browser, the source code of the page was…
-
0
votes1
answer728
viewsSpring MVC annotations not working on Maven
Hi, I’m having a problem setting up Spring MVC in the Maven, when I try to access the http://localhost:8080/spring/olaMundoSpring it returns in browser: STATUS 404 The requested Resource is not…