Questions tagged as 'maven'

4
answers

Difficulty with CSS in a JSF2 project

Greeting for all, I'm new as a Java programmer with JSF projects, I want to put an image as the page plane, and I do not know how to do it. This is the structure of my project; Itriedtoputthelineofcodeinthecssfilelikethis;background-ima...
asked by 08.07.2015 / 19:33
1
answer

The import org.springframework.web.bind.annotation.CrossOrigin can not be resolved

I'm not able to import the annotation @CrossOrigin . Ide does not find the required package even though all other annotations are working normally. The error that occurs is this:    The import org.springframework.web.bind.annotation.C...
asked by 08.02.2017 / 23:33
1
answer

java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet

When trying to start my JSF application my return this error: java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet pom.xml <dependency> <groupId>com.sun.faces</groupId> <artifactId&...
asked by 02.10.2015 / 15:12
1
answer

Maven not finding java

I'm trying to run maven and it's returning me the following error: /opt/apache-maven-3.3.3/bin/mvn: 227: exec: /opt/jdk1.7.0_79/bin/java: not found I checked the paths and they are ok, does anyone know the reason for the problem? My env...
asked by 29.06.2015 / 20:13
1
answer

Convert EJB and WEB modules to Maven

My project consists of three modules: EAR, EJB and WEB. I know that Maven goes far beyond dependency control, but to start I just want to use it to control dependencies. I tried to convert the EJB and WEB modules, some jars were not found, I hav...
asked by 16.09.2016 / 04:45
1
answer

Convert Java + WindowBuilder project to Android or Web

Good afternoon, Would you be able to convert my Java + Windowbuilder project to Android or Web devices? I saw that it is possible to convert Java to Maven but another question is ... What would happen to JFrames? Thank you!     
asked by 10.12.2015 / 16:40
1
answer

Include angular.js using maven in Java Spring project

I'm studying Spring Framework with Maven, in the insert dependencies part I'm having a bit of trouble trying to insert angular.js into the html page, in the pom.xml file, the angularjs dependency looks like this: <dependency> <...
asked by 15.09.2015 / 04:51
1
answer

Import the javax.persistence and javax.inject libraries

How do I import the javax.persistence and javax.inject libraries into a maven project? Note: I'm using eclipse.     
asked by 13.07.2015 / 17:56
2
answers

Maven build error - Could not resolve dependencies for project [duplicate]

This message appears in my Maven application ItriedtobuildaMavenbuildwiththecleanpackagecommand[INFO]Scanningforprojects...[INFO][INFO]Usingthebuilderorg.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilderwithathrea...
asked by 27.06.2015 / 23:39
1
answer

Run unit tests with dependencies that are in the exclusions group

I have a scenario where I need to run a test with JUnit on a feature that has an external dependency, but to run this functionality on the application server I need to put this external dependency in the exclusions group on my pom.xml ....
asked by 30.10.2014 / 12:33