Questions tagged as 'maven'

1
answer

Problems with Maven package dependencies

When I insert this package it generates an error, why will it? <!-- Abstração para envio de e-mails --> <dependency> <groupId>com.outjected</groupId> <artifactId>simple-email</artifactId...
asked by 12.06.2015 / 20:46
1
answer

How to change the language of exceptions thrown during automated testing

Using Eclipse (IBM RAD Studio), Maven, and JUnit, when an exception is thrown while running tests the message is displayed in Portuguese. I would like it to be shown in English. Example: org.apache.openjpa.persistence.ArgumentException:...
asked by 04.09.2014 / 22:28
2
answers

Execution does not find 'org.junit.Assert' even though JUnit jar is in classpath

I have a problem that I have researched a lot and still have not found the answer. I have a test case that I'm trying to run and send a message to the console. But even with JUnit jars, he accuses them as if he did not find them. I'm having a ma...
asked by 01.07.2016 / 01:08
1
answer

How to generate compiled classes and keep .java in maven?

Everyone when I do maven install it compiles classes and generates xxx.class, so far so good. I would like to know if it is possible to generate the .class and also keep all the .java, in the application I am doing I will need to show the page a...
asked by 23.09.2016 / 14:42
1
answer

How to add to the build path a folder via maven

I have an application using Jhipster, to make queries I added querydsl, I configured in maven to generate Q classes, these classes are being generated in the path: target / generated-sources This folder is not in my buildpath so the project g...
asked by 16.04.2016 / 12:23
3
answers

Demoiselle Error while deploying to JBoss

When trying to deploy the demo application, from the Demoiselle tutorials in JBoss, I get the following error: 11:34:16,873 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC00001: Failed to start service jboss.persistenceunit."in...
asked by 05.03.2015 / 15:40
1
answer

How can Maven webapp archetype work without web.xml?

I tried to create a Maven archetype webapp application in Eclipse JEE Photon: File > New > Maven Project > Next > maven-archetype-webapp 1.0 It generates the following file structure: . |-- src | '-- main | '-- ja...
asked by 02.08.2018 / 01:02
1
answer

javax.el - Implementation of Glassfish

There is a JSR-000341 (Expression Language - EL) API in version 3.0.0. Maven dependency on the javax.el API: <dependency> <groupId>javax.el</groupId> <artifactId>javax.el-api</artifactId> <versio...
asked by 17.04.2014 / 22:53
1
answer

error: can not find symbol - maven install with class folder

I have a maven project in eclipse that uses a class folder. This folder has .java and .class. The classes I use in the project are in the build path as class folder, when I do maven install gives me error: [ERROR] location: class PushJobProces...
asked by 11.02.2016 / 13:46
1
answer

WebLogic and libs conflicts: how to know the versions that WebLogic already has?

My question is beginner, but I feel pretty lost. I've been working with Java, but I've always used Tomcat. I recently needed to make my webapp compatible with WebLogic. The problem is that I started to have conflicting versions of libs. Af...
asked by 28.07.2015 / 13:23