[Ole Aamot]When I try to invoke it, I find that the main class app.N5CoreApp won't initialize.ole@intelligence:~/noark/nikita-noark5-core$ /usr/bin/java -jar /var/nikita-noark5-core/nikita-noark5-core-0.7.jarError: Unable to initialize main class app.N5CoreAppCaused by: java.lang.NoClassDefFoundError: org/springframework/core/env/Environmentole@intelligence:~/noark/nikita-noark5-core$ /usr/bin/java -jar /var/nikita-noark5-core/nikita-noark5-core-0.7.jaI used the org.codehaus.mojo rpm-maven-plugin to build the RPM file.This work for me, when I use the enclosed patch.
diff --git a/pom.xml b/pom.xmlindex 496b52569..f7de1a7a5 100644--- a/pom.xml+++ b/pom.xml@@ -281,6 +281,19 @@<build><plugins>+ <plugin>+ <groupId>org.springframework.boot</groupId>+ <artifactId>spring-boot-maven-plugin</artifactId>+ <!-- versjon 3.2.5 er valgt vilkårlig -->+ <version>3.2.5</version>+ <executions>+ <execution>+ <goals>+ <goal>repackage</goal>+ </goals>+ </execution>+ </executions>+ </plugin><plugin><groupId>org.asciidoctor</groupId><artifactId>asciidoctor-maven-plugin</artifactId>I get a file that start as it should with 'java -jar'.