We are working on a Spring-MVC project in which we use Maven as a dependency management tool, deployed on Apache Tomcat. Currently, we are also integrating Stanford parser, and adding the model libraries is increasing our WAR file's size from 192Mb t
Im tryig to get a simple valid login test build in maven to later run in a jenkins server. The thing is: everytime I build (clean install) i get the following error: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1
I'm developing a Spring application where everything is configured with maven (in pom.xml). My application uses a PostgreSQL database, but unit tests use an in-memory HSQLDB database. I just run into an issue with TEXT columns because they are not su
I'm trying to convert a SVG image into JPEG as shown in https://xmlgraphics.apache.org/batik/using/transcoder.html#createImage example. Here is the code: public void saveAsjpeg() throws Exception { // Create a JPEG transcoder JPEGTranscoder t = new J
I'm trying to create a Nexus Proxy Repository to http://nexus.fdvs.com.ar/content/groups/public/, but we have only problems!!!! When I try buid my maven project, my Nexus does not find the DynamicJasper:4.0.2 artfact and the bellow error happens: [ER
I want to ask if there is any method to add Java Fx into Maven Archetype list in Eclipse or any plugin to use Maven to build JavaFx Application.There is the javafx-maven-plugin which is available for maven. When developing with Java 8 you just put th
I'm currently working on a java test framework with cucumber, JUnit and Selenium. I've already worked on projects like that, but I'm experiencing an issue on this one. I'm trying to create a Context class that is a Singleton. I want to use cucumber-p
I have a problem getting BioJava to work in a Netbeans RCP application, built using Maven. I've created a Maven module as a wrapper, including org.biojava.* and org.forester.* packages as public in the POM. Then, from another module I set the wrapper
I'm inexperienced with building Java projects, and I'm trying to build a tokenizer for Solr (found here: https://github.com/LucidWorks/auto-phrase-tokenfilter). I'm getting an error about an unresolvable dependency during compilation. The missing dep
I am trying to run 2 maven goals in one maven command like: mvn release:prepare release:perform -Darguments='-Dmaven.test.skip=true' but, I would like the first goal to skip tests and the second one not to skip tests. It has to be in one line command
Is there any tag name available to do this? I tried using include tag in pom.xml for including a file in local. However, while building a jar it didn't work.I think what you are looking for is a part of maven-jar-plugin, unless you mean additional ja
I'm unable to start my webapp on my Tomcat 7.0 Server because of the following error : java.lang.ClassCastException: org.glassfish.jersey.servlet.ServletContainer cannot be cast to javax.servlet.Servlet My web.xml , which include the ServlectContaine
I have converted my java web project to maven project using m2e plugin in eclipse. Now i need to convert it back to java web project. So now how it is possible to change it back to java web project.Please try the following: Open context menu on the m
I use tycho-packaging-plugin to set the output folder for the jar. Here is shortened version of my pom: <properties> <tycho-version>0.21.0</tycho-version> </properties> <build> <plugins> <plugin> <groupId>or
I am little bit curious on how gradle handles libraries linking in Android studio.I know all these libraries are stored in maven central but lots of people asked me what if those gets deleted or owner deletes his own library from there or may be a pa
I have several override methods like this: @Override public int compareTo(Property p) { return getText().compareTo(p.getText()); } As a Java project, it works fine, but as a Maven project, it returns the following error: The method compareTo(Property
I'm trying to put in place a way to permit to developers to be able to sometimes apply a patch on an already delivered version of an application. before any delivery to a pre-production env we've to release our app. code versioning system is CVS here
I need to store an artifact in Maven/Nexus but when it's pulled down it must not have a version number at the end. Before you berate me, point your scowl at Oracle. I have comm.jar (Oracle comm port driver). I've put this in my nexus server & it come
As I'm using Maven and Gradle, over time my local artifact repositories have collected many related artifacts, e.g. junit-3.8.2.jar, junit-4.7.jar, junit-4.10.jar. Now, whenever I open the "Open Type" dialog (e.g. by chording Ctrl+Shift+T), I ge
I have a Maven webapp that uses the maven-compiler-plugin . A few days ago I could compile and run the app just fine, however something happened and compilation now fails with the following error: [ERROR] Failure executing javac, but could not parse
I'm executing my maven build and it throws this exception: Last cause: Wrong column type in x.clients for column type. Found: tinyint, expected: integer I'm mapping like this: @Id @GeneratedValue(strategy = GenerationType.AUTO) private Integer id; An
I've installed a sonatype nexus to be my maven repo. The nexus instalation is using the Active Directory to authenticate users, and the annonymous login is off. Every user that uploads an artifact to my repo must be identifyed with a unique username,
Need to run maven jaxb2 plugin from my app, at run-time. Is it possible?Maybe i have done something that could help you: /** * @author swoeste * */ public class MavenExecutor { private final File configuration; private final ClassWorld classWorld; /*
I am migrating a project to Maven and as we were used to always reference our builds by the latest change number in our Perforce SCM repository, I would like to be able to extract this information I am trying to configure Maven scm plugin via followi
I am new to Java+Maven and PlayN. Please help me regarding following error. Getting following error for playn-showcase project build: Failed to execute goal on project playn-showcase-java: Could not resolve dependencies for project com.googlecode.pla
I am using Robolectric without using maven to build, meaning I am using the Robolectric-with-dependencies Jar. I set it up based on instructions on Robolectric's site, yet I am still getting the WARNING: Unable to find path to Android SDK" error. I f
I have in Eclipse web application project that depends from other projects. When I run debug on embedded Tomcat in lib folder that Eclipse copied not jars, but folders with names like: dependent_lib1.jar dependent_lib2.jar dependent_lib3.jar ........
I want to use Mojarra 2.1 with Tomcat 7, so I added following dependencies in my pom file: <dependency> <groupId>com.sun.faces</groupId> <artifactId>jsf-api</artifactId> <version>2.1.2</version> </dependency>
I'm trying to run a simple dataImport class which is using JPA and Hibernate. If I run my class, i always have the following error: Exception in thread "main" java.lang.IllegalArgumentException: Unknown entity: ch.itartis.relman.entities.code.Re
I maintain the build for a large Java EE/Maven/Hudson/Perforce project with about 20 developers spread across the world. The solution in-place for code formatting is to format the codebase using Jalopy when the developer runs the build, thereby ensur