I installed Version: Oxygen.1a Release (4.7.1a) Build id: 20171005-1200 supporting Java 9. With suggested configuratio on eclipse.ini I have developed by java 9 (java 9 modularity) code project to test dependency injection as pure Java prject from eclipse, but when I have integrated Maven running my from eclipse I get systematically the following error Error occurred during initialization of boot
Tag: maven
Error scanning entry META-INF/versions/9/org/apache/logging/log4j/util/StackLocator.class with jetty and log4j 2.9.1?
This is the directory layout I have in my maven project: pom.xml relavent parts as follows: And here is my web.xml and finally this is what log4j.properties look like: So currently everything runs fine (I start jetty with: mvn jetty:start) and when I visit “/” I see in console: This is all fine.. after jetty:start I get: How can I
Maven build and maven-failsafe-plugin – The forked VM terminated without properly saying goodbye
I use Docker and https://github.com/fabric8io/docker-maven-plugin for my integration tests. On my Windows 10 (after updating to Windows 10 1709) machine I faced the following error with my Maven 3.5.0 build: Right now I have no idea what can be wrong, I don’t see any failures with my tests. What can be a reason of this issue and how to solve
execution default of spring-boot-maven-plugin repackage failed
I’ve got a simple project that is doing nothing for now and which is just a simple Spring Boot 2 application which supposed to use java 9. When I run mvnw clean package over hero-journey folder I get this error It does not provide any particular information about the cause except RuntimeException and that something happen (it seems) on class
Generating classes from multiple wsdls using jaxws-maven-plugin
Im trying to generate classes from multiple WSDLs using jaxws-maven-plugin. But it generates classes only from the wsdl defined in the first execution block. I have seen this topic has been discussed in several places and i have changed my pom according to the comments. Still i cannot get it work. Answer I think the issue here is related to
Exception in thread “main” java.lang.NoClassDefFoundError: org/apache/hadoop/tracing/SpanReceiverHost
I am running Hadoop 2.8.1 and Hive 2.3.0 I am tring to read values from an a table created in Hive and the current exception is And here is the code that I have used to read the tables And here it is the Pom file that I have used org.apache.hive.hcatalog hive-hcatalog-core 2.3.0 org.apache.hive.hcatalog hive-hcatalog 0.13.1-cdh5.3.5 org.apache.hive hive-common 2.3.0 Answer
Error: log4j-api-2.9.0.jar is a multi-release jar file but –multi-release option is not set
Exploring the maven-jdeps-plugin:3.1.0 with Java9 using the following minimal pom.xml:- On executing I end up getting a detailed error that reads the following:- I couldn’t find much relevance related to –multi-release flag in either jdeps:jdkinternals goal detailed on Maven’s official site or even in the jdeps tool documented at Oracle help center. Can someone throw some light on this implementation
What does “Required filename-based automodules detected.” warning mean?
In my multi-module project, I created module-info.java only for few modules. And during compilation with maven-compiler-plugin:3.7.0 I’m getting next warning: [WARNING] * Required filename-based automodules detected. Please don’t publish this project to a public artifact repository! * What does it mean? Is that because I have only a few modules with module-info.java and not the whole project? Answer Automatic module
How to get a jar file from nexus using Jenkins?
I have a Jenkins job which contains 3 parameters: ARTIFACT_ID, GROUP_ID, and APP_VERSION. I would like to use those 3 params to download any specific jar file from Nexus. Note that the Nexus URL is provided in the Jenkins config, so it will automatically know from where to lookup. Do you have an idea how to do that!! For example,
Maven can’t resolve the Kotlin Maven Plugin jar
Not sure how to fix this. I want this version of the Kotlin runtime and maven plugin. These are the bits in my pom.xml: And I added this as a repo: I get this error: Failure to find org.jetbrains.kotlin:kotlin-maven-plugin:jar:1.2-M2 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed