Questions tagged as 'maven'

1
answer

Jenkins does not compile Maven tests but NetBeans does

I have a difficult problem to solve. When I run Maven's clean install from NetBeans, it terminates the process successfully. When running Jenkins, the process crashes when trying to run the tests, saying that it can not find the classes of my en...
asked by 06.10.2017 / 06:57
1
answer

Maven OWL API How to resolve dependency error

My question is about Maven. I'm working on a project that involves the OWL API library and after attempting to load an ontology the project returned an error that can be seen in the following image. RegardingthiserrorIfoundthe OWL API resolu...
asked by 13.10.2017 / 02:10
0
answers

".m2" folder for the settings.xml file in Windows Server 2008?

I have a Java EE application with Wildfly10.1.0.Final server that uses this folder to add the settings.xml file, but inside Windows server 2008 I do not have this folder in the user, how could I create this folder? Thanks for the help.  ...
asked by 17.09.2017 / 17:00
0
answers

Maven compilation error plugin

I use the following plugins to compile and run my web project in IntelliJ IDEA: pom.xml //Código do pom.xml omitido . . . <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifac...
asked by 28.08.2017 / 19:17
1
answer

Error using Hibernate to generate tables and doubts about

I'm creating a webservice using Maven to manage the dependencies of my project. I'm currently trying to create a database based on my templates. I have four questions and one problem in my attempt: 1) How do I get Java to create Foreign Key?...
asked by 04.09.2017 / 14:34
1
answer

Maven Project Error Relative Path

I have to maintain a system in java with Maven . However the system has 3 projects where one refers to the other, already tried to change the build path adding projects and etc. So far nothing below follows the file pom.xm...
asked by 12.06.2017 / 21:56
1
answer

file not found exception web service

I have a web and mobile application that are fed by web service the problem that every time I am trying to recover a user I get the following message "java.io.filenotfoundexception" (followed by my URL) and the response code 404. I've already lo...
asked by 31.05.2017 / 05:38
1
answer

Problem using Gson on Wildfly

I'm trying to use GSON in a Maven EJB project but it gives the following error:    java.lang.NoClassDefFoundError: com/google/gson/Gson When I test in the main class without going up the server lib works normally. Has anyone...
asked by 24.02.2017 / 15:46
2
answers

Exception solution ServiceException and Failed to execute goal org.codehaus.mojo: exec-maven-plugin: 1.2.1: exec?

The following error occurred:    ServiceException and Failed to execute goal org.codehaus.mojo: exec-maven-plugin: 1.2.1: exec? I have already changed the provider name of org.hibernate.ejb.HibernatePersistence to org.hibernate.jpa.Hibern...
asked by 19.03.2017 / 11:11
1
answer

Class not found

I am testing a .jar where I will pass named parameters to the command line, etc. The problem is that it is not finding my main class. Someone help me? package appOptions; import org.apache.commons.cli.CommandLine; import org.apache.commons.cl...
asked by 31.01.2017 / 18:35