Skip to content

Tag: maven

Lombok and Maven

I’m trying to use Lombok with Maven and VRaptor on IntelliJ but it doesn’t work. I already read some info in stackoverflow but none solved my problem, i already enabled the Annotation Processor in Intellij but still nothing. I tryied to compile it from command-line too (Windows) and didn’t w…

Maven: No sources to compile

I am following the ‘Build Java Projects with Maven’ (https://spring.io/guides/gs/maven/#scratch) and when I run ‘mvn compile’ from /Users/Misha/Desktop/src/main/java/hello, I get this prompt: I have the two java files and the xml file in the hello directory, and I am assuming that I sh…

Maven Hangs Downloading Inside a Docker Container

I have a gitlab with gitlab ci and a runner all running fine in a CoreOs Machine. All 3 services are running using the following dockerfiles service files and build script: Build Script: CI service: CI-runner service: Ci runner dockerfile: Ci dockerfile is unmodified version of sameersbn/gitlab-ci:5.2.0. when…

Maven child module does not exist

I’m new to Maven. I checked out from SVN a project from a customer with the following structure: the pom.xml right below ‘projectName` (the pom at the top) is building the three modules But when executing mvn clean install from folder projectNameit gives the following error The question is: Should…

java.lang.NoClassDefFoundError: javax/json/Json

I have a simple Java project where I would like to build a Json string. For this, I use javax.json: The project is build with maven, and in the pom I have added these dependencies: Compilation is ok. When I execute the code using that command: The main is in MyClass. I get: on the call to Json.createObjectBui…