Questions tagged as 'maven'

1
answer

Generate Runnable Jar from a Maven project

I'm having trouble generating a Jar file for my application from Maven, I followed the following tutorial. Mkyoung.com It even generates the Jar but with a super reduced size and at the time of executing by the CMD it presents the follow...
asked by 08.09.2015 / 15:22
1
answer

Integrate Spark using maven

Hello. I bought the theme + spark layout of primefaces. In the community I wrote that to use the layout. I would have to import the spark-theme.1.0.war file. Once it was imported, the full set of spark primeface would appear. I d...
asked by 14.04.2015 / 23:01
2
answers

Specifying an EJB-client with Maven

I am not able to use the interfaces of an EJB-client generated by Maven. I have basically 2 separate projects with different functions. An EAR that contains EJB's and a WAR that uses EJB's interfaces to the EAR package. Following structure...
asked by 31.01.2014 / 16:55
0
answers

Error for importing JDBC from sqlServer with Maven

In my web java application, I needed to add a connection to a sql server database, so I put it as maven dependency as described below: <dependency> <groupId>com.microsoft.sqlserver</groupId> <artifactId>...
asked by 06.08.2018 / 17:00
0
answers

How to implement Flyway in a JavaEE Maven project with Hibernate, vRaptor and JPA?

In a Maven, JPA, with Hibernate and vRaptor integrated project, how to implement the Flyway easily and effectively? Implementing this, my bank will upgrade as it was in the development <property name="hibernate.hbm2ddl.auto" value="upd...
asked by 08.05.2018 / 23:03
1
answer

How to configure the java version? [closed]

> [modelVersion]4.0.0[/modelVersion] [groupId]com.algaworks[/groupId] [artifactId]comecando-primefaces[/artifactId] [version]0.0.1-SNAPSHOT[/version] [packaging]war[/packaging] [properties] [project.buid.sourceEncoding]UT...
asked by 04.08.2015 / 19:51
1
answer

FakeHttpServer breaks when upgrading to Jetty 9

I'm migrating an application that used Jetty 7.4.5.v20110725 to Jetty 9.3.0.M2 , using Maven . I've already updated javax.servlet-api to versão 3.1.0 . But, I'm using FakeHttpServer version 0.3.0 for testing,...
asked by 18.05.2015 / 19:47
2
answers

problem in a maven + JSF application

I'm trying to follow a workbook but when I do the procedure Access the project properties and find the side menu Project Facets the window appears in the attachment and then I mark the altenative as shown in the figure JavaServer Faces ec...
asked by 13.08.2014 / 19:32
2
answers

How to say in Maven that one module depends on another?

I have two modules and each one depends on the other. How to say this in dependencies in Maven?     
asked by 07.04.2014 / 15:31
2
answers

My application does not start in Spring-Tools Suite

I created a maven project in the Spring-Tools Suite when I started to see this error: Exception in thread "main" java.lang.IllegalStateException: Failed to read Class-Path attribute from manifest of jar file:/C:/Users/Manoel/.m2/repository/xml...
asked by 03.02.2017 / 15:02