Skip to content
Advertisement

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

JavaScript

It does not provide any particular information about the cause except RuntimeException and that something happen (it seems) on class parsing.

mvn -version looks like this

JavaScript

What is the problem?

My main pom.xml looks like this

JavaScript

My subproject pom.xml looks like this

JavaScript

Advertisement

Answer

It seems I ran into existing issue So I used the solution provided by @wilkinsona to resolve it. I added configuration with mainClass and project was successfully built.

JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement