Skip to content
Advertisement

Tag: maven

Eclipse issue with java 9 and maven

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

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

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

Advertisement