Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
unomi-2.5.0
-
None
-
None
Description
Using the following docker-compose file:
version: "3.8" services: elasticsearch: image: 'docker.elastic.co/elasticsearch/elasticsearch:7.17.21' environment: - discovery.type=single-node ports: - 9200:9200 unomi: image: 'apache/unomi:2.5.0-SNAPSHOT' environment: UNOMI_ELASTICSEARCH_ADDRESSES: elasticsearch:9200
The following exception is present in the logs at startup:
compose-unomi-1 | 2024-06-04T07:10:02,407 | INFO | FelixStartLevel | CommandExtension | 185 - org.apache.karaf.shell.core - 4.2.15 | Inspection of class META-INF.versions.9.module-info failed. compose-unomi-1 | java.lang.NoClassDefFoundError: META-INF/versions/9/module-info is not a class because access_flag ACC_MODULE is set compose-unomi-1 | at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?] compose-unomi-1 | at java.lang.ClassLoader.defineClass(ClassLoader.java:1022) ~[?:?] compose-unomi-1 | at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.defineClass(BundleWiringImpl.java:2410) ~[?:?] compose-unomi-1 | at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2194) ~[?:?] compose-unomi-1 | at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1607) ~[?:?] compose-unomi-1 | at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80) ~[?:?] compose-unomi-1 | at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053) ~[?:?] compose-unomi-1 | at java.lang.ClassLoader.loadClass(ClassLoader.java:527) ~[?:?] compose-unomi-1 | at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1927) ~[?:?] compose-unomi-1 | at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:978) ~[?:?] compose-unomi-1 | at org.apache.karaf.shell.impl.action.osgi.CommandExtension.start(CommandExtension.java:100) [!/:4.2.15] compose-unomi-1 | at org.apache.felix.utils.extender.AbstractExtender.createExtension(AbstractExtender.java:254) [!/:4.2.15] compose-unomi-1 | at org.apache.felix.utils.extender.AbstractExtender.modifiedBundle(AbstractExtender.java:227) [!/:4.2.15] compose-unomi-1 | at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:482) [osgi.core-6.0.0.jar:?] compose-unomi-1 | at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:415) [osgi.core-6.0.0.jar:?] compose-unomi-1 | at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232) [osgi.core-6.0.0.jar:?] compose-unomi-1 | at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:444) [osgi.core-6.0.0.jar:?] compose-unomi-1 | at org.apache.felix.framework.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:915) [org.apache.felix.framework-5.6.12.jar:?] compose-unomi-1 | at org.apache.felix.framework.EventDispatcher.fireEventImmediately(EventDispatcher.java:834) [org.apache.felix.framework-5.6.12.jar:?] compose-unomi-1 | at org.apache.felix.framework.EventDispatcher.fireBundleEvent(EventDispatcher.java:516) [org.apache.felix.framework-5.6.12.jar:?] compose-unomi-1 | at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4579) [org.apache.felix.framework-5.6.12.jar:?] compose-unomi-1 | at org.apache.felix.framework.Felix.startBundle(Felix.java:2174) [org.apache.felix.framework-5.6.12.jar:?] compose-unomi-1 | at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1373) [org.apache.felix.framework-5.6.12.jar:?] compose-unomi-1 | at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308) [org.apache.felix.framework-5.6.12.jar:?] compose-unomi-1 | at java.lang.Thread.run(Thread.java:829) [?:?]
This error is not present with unomi 2.4.0