we are getting compilation error - Got unexpected exception while analyzing:org.apache.felix.scrplugin.SCRDescriptorException: Unable to load compiled class
[ERROR] Failed to execute goal org.apache.felix:maven-bundle-plugin: 4.2.1:manifest (generate-osgi-metadata-for-unittests) on project : Error(s) found in manifest configuration
If anybody faced same problem and resolved it or have any idea of resolution, would be helpful.
(I am using scrplugin version - 1.24.0)
Thanks,
Manisha
Views
Replies
Total Likes
Are you using Java 11 or java 8? It seems the maven-scr-plugin that you are using is not being supported by Java that you are using. Latest version of maven-scr-plugin supports java11 and if you are using java 11 try moving to latest version of maven-scr-plugin which is 1.26.4
Can you share more details like Java, maven archetype, and maven versions?
Try updating the maven-scr-plugin version to the latest one
Views
Likes
Replies