Questions tagged as 'maven'

1
answer

Modular Maven project with Java10 modular does not find the java module

I am adapting the exercise of the book "Java 9 - Interactive, reactive and modularized - author Rodrigo Turini" for a modular maven project with modular java 10. But when running, you are not encountering the java project modules ~/AmbienteDeD...
asked by 02.06.2018 / 22:47
1
answer

How to change the maven life cycle?

I have an EJB project and would like to run the test after deploying my ear. I have a test in the ejb layer, which needs to access the ejbstubs inside the server (was), before I did this with ant, but I'm changing to maven, but I'm not able to c...
asked by 12.11.2015 / 17:10
1
answer

Doubts template "maven-archetype-webapp"

I'm a beginner in development with Maven and I'm having some doubts. Next, I would like to create a Java web application, for this I started by running the following command: mvn archetype:generate -DgroupId=com.myapp -DartifactId=CounterWebAp...
asked by 10.09.2015 / 21:06
1
answer

ERROR Could not open connection and user root

These errors are happening below in my application: Note: I'm using Maven. Here is an image of how the project structure is in eclipse: Followtheerrorsbelow:out 22, 2015 11:03:58 PM org.hibernate.annotations.common.Version <clinit&g...
asked by 23.10.2015 / 04:13
1
answer

Error changing theme from Primefaces

Hello, I'm learning primefaces and I'm trying to change the theme of primefaces. For that I downloaded it by Maven. The theme even appears in the dependencies. But the following message appears when I'm going to run in the browser:    Error l...
asked by 09.06.2015 / 16:00
1
answer

Error importing maven project into Eclipse: In the marketplace entries found to handle

I'm new to JavaWeb programming and when installing eclipse and importing my project created by Maven, please acknowledge the error below:    In the marketplace entries found to handle maven-antrun-plugin: 1.8: run in Eclipse. Please see Help...
asked by 15.07.2015 / 02:42
1
answer

How to get the value of the version property in pom.xml?

I need to get the value of the current version of the application in various parts of the code. A priori I thought about creating a class containing the version: public class Version { public static String getVersion(){ return "0.1...
asked by 02.12.2015 / 06:36
0
answers

External static methods not being recognized in the project

I'm importing a utility library into my main project, the library currently contains a single static method, I can import both manually and maven, but I'm not able to access the static library method. I'm using Spring boot, maven and JDK 1.8 in...
asked by 26.11.2018 / 13:02
1
answer

Save Spring Boot request

I'm a beginner in Spring Boot and I need a little help. I want to save an incoming and outgoing request, generating the automatic id and saving the date and time, using docker and Postgres (I do not know if it changes either to say that I'm usin...
asked by 14.07.2018 / 18:07
0
answers

JAR Executable much slower than running by Netbeans

Good morning, I have a netbeans project that uses maven to build an executable jar, so that's fine. The problem is that when I run the project through ".jar" which is generated by maven, execution takes a lot longer to execute certain functio...
asked by 12.01.2018 / 14:48