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
-
1
votes1
answer95
viewsJsoup not returning any value
I have a problem with blibioteca Jsoup, that when I try to make the connection to a certain page, it simply does not return me any value from the connection. public static void main(String[] args) {…
-
1
votes0
answers55
viewsDemoiselle Appletexecute error in manual
In the Demoiselle documentation of the link: http://demoiselle.sourceforge.net/docs/components/certificate/reference/2.0.0/html_single/#applet-configuracao To create the example applet, add the…
-
1
votes0
answers411
viewsSpring Boot [ Maven (Multi-modules) ] Application management.properties
Well I have a little problem I have a project where I am using a project with Maven, Spring Boot. And inside the Maven I’m dividing the modules [multi-modules] as ex.: Persistence and Web The module…
-
1
votes1
answer60
viewsconvert java projects to Maven
I have some java projects and would like to convert them pro Maven. Is there any command maven for conversion of existing java projects? If I just add the pom.xml it will become a Maven project? I…
-
1
votes1
answer133
viewsI cannot download Hibernate and mysql dependencies #Algaworks
I’m following the playbook algaworks-ebook-java-ee-7-com-jsf-primefaces-e-cdi-2a-edicao-20150228 and in the financial project to put the dependencies of the hibenate and mysql in the pom xml I can’t…
-
1
votes1
answer337
viewsEclipse Maven | lambda | use -source 8 or Higher to enable lambda Expressions
Java Maven project in Eclipse neon (4.6.0), simply does not compile when using lambda. The mistake: use lambda Expressions are not supported in -source 1.5 (use -source 8 or Higher to enable lambda…
-
1
votes1
answer206
viewsConvert EJB and WEB modules to Maven
My project consists of three modules: EAR, EJB and WEB. I know Maven goes way beyond dependency control, but to start I just want to use it to control dependencies. I tried to convert the modules…
-
1
votes1
answer30
viewsNoclassdeffounderror - Only running via Jenkins
Hello, I have an automation project with Selenium + java + Maven integrated into Jenkins. Today I did a refactor on it moving some classes to new packages. In my machine there is no problem of…
-
1
votes1
answer555
viewsMaven causes problem with special characters for ISO-8859-1 files
I have a fully configured Eclipse project and my files. java uses ISO-8859-1 encoding and some other Resource files use UTF-8 encoding. I need to create an archetype from this project. I’ve tried…
-
1
votes1
answer404
viewsThe import org.springframework.web.bind.Annotation.Crossorigin cannot be resolved
I’m not managing to import the Annotation @CrossOrigin. ide does not find the necessary package despite all the others Annotations are working normally. The error that occurs is this: The import…
-
1
votes1
answer157
viewsDeploy Heroku Maven project with multiple modules
I have a Maven (web) project composed of a packaging project (packaging = pom) and several modules. I want to deploy that project in Heroku. Doubts: Where should get the Procfile? In the packaging…
-
1
votes1
answer1041
viewsMaven Project Relative Path error
I have to maintain a system in java with Maven. However the system has 3 projects where one refers to the other, I tried to change the build path adding projects and etc. So far nothing below…
-
1
votes1
answer494
viewsSpring error starting server
I imported a Maven project that worked perfectly before, but now I’m with it giving error. Every time I try to fix this error, I keep changing the versions of Java, deleting and importing again and…
-
1
votes1
answer2564
viewsError in Maven POM.XML file
Error cvc-Complex-type.2.4. a: Invalid content was found Starting with element 'dependency'. One of '{"http://maven.apache.org/POM/4.0.0":Parent, "http://maven.apache.org/ POM/4.0.0":name,…
-
1
votes0
answers110
viewsconfiguration methods do not work in Maven project with Spring-boot
I have the 3 classes that transcribed the code. the run method on boot starta my application. the other two classes are in the package that contains the settings. I am using spring boot and have a…
-
1
votes1
answer687
viewsHow do you turn a Spring Boot project into a . jar file?
Guys I don’t know how to turn a Spring Boot project into a file. jar My attempt was to enter the project through msdos and with the command mvn install can create the file . jar However several…
-
1
votes1
answer470
viewsProblems with Jars
I have a Spring application that uses Maven. All the dependencies are in the file pom.xml or the Jars are in my repository .m2 local. Every time I try to run the application the following messages…
-
1
votes1
answer592
viewsspring boot modules via Maven do not interact
I’m using Spring Boot to create a Restful web service and a SOAP, each in a module but both in a single project. So I decided to separate my domain layer into a third module since it’s the same for…
-
1
votes0
answers22
viewsJaas does not work with tomcat7 Maven plugin
I’m using the JAAS for the safety of my webapp. I declare only one JDBCRealm of the normal Tomcat, passing the bank credentials... follows the context.xml with the Declaration of the Realm: xml…
-
1
votes0
answers21
viewsExecution defined in pom is not performed when publishing project in Eclipse
I set in the POM of my project the following plugin in build: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId>…
-
1
votes2
answers682
viewsError while trying to connect to a Postgresql database with Hibernate and Spring Boot
I’m a beginner in Spring Boot and Hibernate, I did a project on Spring Initializr only with the dependencies Web, DevTools e PostgreSQL, but then I added dependency spring-boot-starter-data-jpa, I…
-
1
votes0
answers27
views -
1
votes0
answers21
viewsExternal static methods not being recognized in the project
I am importing a library of utils into my main project, the library currently contains a single static method, I can import both manually and by Maven, but I am not able to access the static method…
-
1
votes1
answer53
viewsUTF-8 formatting does not work when compiling code with Maven in Intellij
Good afternoon, you guys, Next, I have a Maven project in Intellij configured as follows: In the pom I have these configs:…
-
1
votes1
answer306
viewsUnknown Spring Boot Error
When creating a Maven project by https://start.spring.io/ and import it in Eclipse IDE, is displayed 1 error in the view problems eclipse. The problem is that in description, no hint is…
-
1
votes1
answer277
viewsCannot change version Facet Dynamic Web Module to 4.0. Maven
I had this problem and I thought I had solved it, but when I opened eclipse hj the problem just happened again, the strange thing is that it only occurs inside the IDE, because if I compile and put…
-
1
votes1
answer49
viewsHow to change the logging level of a dependency?
I’m trying to deal with the logging level of a dependency, where it’s showing INFO and I would not like her to show that level, because the information is not pertinent, in my case is the logging…
-
1
votes1
answer309
viewsError when using the @Slf4j annotation "log" using the Spring Boot tutorial
I am studying creating REST Apis with Spring Boot following the following tutorial: Building REST services with Spring. However when implementing to the class Loaddatabase from the tutorial I’m…
-
1
votes1
answer26
viewsHow to publish Maven artifacts in Jitpack with "Flavour" defined by Maven profile?
I have a number of dependencies that I now need their normal "flavor", time I need their "flavor" without Amblas. I’ll take care of it by profiling retrolambda enabled or not. One of my projects I…
-
1
votes0
answers5
viewsMaven dependencies inserted in Deployment Assembly disappear after giving Maven -> Update Project
Guys, my question is this: I have for example the following folders: (Each project obviously in its separate folder) Project1 Project2 Projectofinal When I will generate the build of the…
-
0
votes1
answer260
viewsDetected an untreated exception. Generated code: [68MJGTMV] and [XJEL5QC6] - Expected exception
Caught an unhandled Exception. Generated code: [68MJGTMV]: javax.faces.Facesexception: #{classeBean.save()}: I checked the specified class that expect an Exception value, but it doesn’t. The problem…
-
0
votes1
answer561
viewsJboss stops during JSF 1.2 startup after project conversion to Maven
I have a project running perfectly on Jboss AS 5.1, however that same project was not designed using Maven. This means that the dependency management process is still manual and the build is made by…
-
0
votes2
answers555
viewsgenerate java artifacts Maven project with Parent on Jenkins
I wonder if someone has already generated package artifacts of a module by the project Parent in Jenkins!? Well, I’ve tried every way I can think of, but so far I’ve only made mistakes! Remembering…
-
0
votes0
answers46
viewsError while converting Android project to Maven
I created an Android project and right-clicked on the project > Configure > Convert to Maven Project. But soon after doing this the application does not start anymore, it presents the…
-
0
votes1
answer48
viewsError trying to run JSF application
Guys I’m starting to study Jboss, Maven, etc. However when I run a page I created for tests this error appears: Could not find backup for factory javax.faces.context.FacesContextFactory In my…
-
0
votes1
answer116
viewsMaven Project in the SVN
I have the following Maven project structure in my Workspace: system (with POM configured to consolidate all projects below) DAO EAR MODEL WEB VO I am developing in partnership and we have chosen to…
-
0
votes0
answers32
viewsJSP problems using JSTL and JBOSS
I made a Hello World to test the application but the JSP page is not being rendered. Only the source code of the page appears. Is there any extra configuration? I even put all the dependencies in my…
-
0
votes0
answers43
viewsError trying to update with Maven
I am having error after setting in the file pom.xml in the artifact <artifactId>maven-compiler-plugin</artifactId>. This is the mistake when trying to update Maven: Could not update…
-
0
votes2
answers363
viewsError in Java Resources package in Maven project
I created a project Maven one-page xhtml just for testing, but keeps giving this error in the package. What would that mistake be?…
-
0
votes1
answer228
viewsUsing Multiple Threads to Run a Faster Build on Maven
What the Maven offers in terms of parallelism for the execution of builds? If I execute one build in a machine with more than one processor, how can I take advantage of more resources for…
java maven multithreading parallelism continuous-integrationasked 9 years, 7 months ago Filipe Miranda 3,138 -
0
votes1
answer95
viewsProject problems with Maven - Algaworks
I’m a beginner in Maven, I have some little problems that I can’t solve. Does anyone know how to decipher these errors? I don’t quite understand them.…
-
0
votes1
answer809
viewsPersistenceunit: fabricaweb2 Unable to build Entitymanagerfactory
I have this error below, you are not able to create the Entitymanager. I am using the Maven and the folder META-INF this one inside src/main/Resources in the root folder where the entities are…
-
0
votes1
answer69
viewsError generating release with Maven/gitflow
Hello, I have a Java application and I use Maven + gitflow to generate releases. I can clone via ssh/key without problem. But at the time of turning the command mvn jgitflow:release-start The…
-
0
votes1
answer2919
viewsHibernate does not recognize class annotation
I have a Maven project, with Glassfish 4.0, Hibernate, I am using annotations and my project was faceted with JPA the persistence.xml file was generated and the Glassfish Connection pool is working.…
-
0
votes1
answer1400
views -
0
votes1
answer45
viewsGenerate file template with Maven
Good morning, everyone. With Maven Archetype you can generate project templates. Is there any way to generate file templates for Netbeans with Maven?
-
0
votes1
answer796
viewsPlug-in org.eclipse.jpt.jpa.ui was unable to load class org.eclipse.jpt.jpa.ui.internal.editors.JpaXmlEditor
Everybody, I have an error that just appeared in the eclipse Hello, does anyone know what it might be, some plugin to update? The persistence.xml file does not open and an error appears in the title…
-
0
votes1
answer1981
viewsHow to Import Maven Project to Eclipse Luna
I’m trying to import a Github project into my eclipse, but I’m not succeeding. It would take some kind of project conversion? I’m using Eclipse Luna, apache-Maven-3.3.9.
-
0
votes1
answer43
viewsHow to make the mavem always get the jar from the master branch
I have two projects managed by Maven. The first is Model. The Second Front End and Controll The model is a dependency of Frontend. I do this with the following dependency on the pom.xml of the…
-
0
votes0
answers212
viewsError deploying to Heroku
Trying to deploy to Heroku with Tomcat 7 and Hibernate and this error appears: [ERROR] Failed to execute org.apache.Maven.plugins:Maven-Compiler-plugin:3.1:Compile (default-Compile) on project…