Skip to content

Tag: maven-3

Can’t run Maven 3.6.3 on JDK7

According to the Maven release history, it should be possible to run any recent version of Maven (at the time of writing anyway) on JDK 7. However, when I try to do so on my Ubuntu 21.04 machine, I get an error: java.lang.UnsupportedClassVersionError: com/google/inject/Module : Unsupported major.minor version…

java.lang.ClassNotFoundException: org.eclipse.jetty.Server

I am trying to run a maven project when I run mvn install everything is ok I got build success qnd when I tried to lunch the project I got the following exception: and when I run mvn dependency:tree I got the following results: and this is my pom.xml file : so any idea how to fix this problem !!!!

Maven build fails ONLY when run with jenkins

I have a Java project that is committed to GitHub. The project consists of 3 modules. I have configured the Jenkins Workflow Multibranch Pipeline plugin to build the 3 modules. Maven builds the first 2 modules with no problem. But on the third module I get the following error: I have red that there may be a p…

Maven spring boot run debug with arguments

Usually I’m running my Spring Boot application with command: I want to set custom port to debug, so I can connect from eclipse. When I add arguments from example https://docs.spring.io/spring-boot/docs/1.1.2.RELEASE/maven-plugin/examples/run-debug.html it works but other arguments like server.port or pa…

MuTect install: GATK-protected: maven: Java-compile-error

I’m trying to install mutect, and as directed in the README.md, I’ve git cloned gatk-protected and tried to do ‘mvn -Ddisable.queue install’. But I get the following issue. I’ve java 1.7 and maven 3.3.3. I followed the readme file present here. Could anyone please help in resolvi…