-
Bug
-
Resolution: Done
-
Major
-
None
-
None
mkdir felix cd felix wget http://download.nextag.com/apache/felix/org.apache.felix.main.distribution-5.6.10.zip unzip org.apache.felix.main.distribution-5.6.10.zip cd ../ git clone git@github.com:robstryker/org.jboss.tools.ssp.git cd org.jboss.tools.ssp git checkout osgi_branch1 mvn clean install #cp api/target/org.jboss.tools.ssp.api-0.8-SNAPSHOT.jar ../felix/felix-framework-5.6.10/bundle/ #cp launching/target/org.jboss.tools.ssp.launching-0.8-SNAPSHOT.jar ../felix/felix-framework-5.6.10/bundle #cp server-spi/target/org.jboss.tools.ssp.server.spi-0.8-SNAPSHOT.jar ../felix/felix-framework-5.6.10/bundle/ #cp server/target/org.jboss.tools.ssp.server-0.8-SNAPSHOT.jar ../felix/felix-framework-5.6.10/bundle/ du -ah | grep "jar$" | grep "target/" | grep -v "test-classes" | grep -v "classes/" | grep -v "schema" | grep -v "client" | cut -c 1,2,3,4 --complement | awk '{ print "cp " $0 " ../felix/felix-framework-5.6.10/bundle/";}' | sh cd ../felix/felix-framework-5.6.10/ java -jar bin/felix.jar
Note error:
API Bundle Started
Launching Bundle Started
Server bundle started
ERROR: Bundle org.jboss.tools.ssp.server.wildfly [11] Error starting file:/home/rob/tmp/ssp_osgi/felix/felix-framework-5.6.10/bundle/org.jboss.tools.ssp.server.wildfly-0.8-SNAPSHOT.jar (org.osgi.framework.BundleException: Activator start error in bundle org.jboss.tools.ssp.server.wildfly [11].)
java.lang.NoClassDefFoundError: org/osgi/framework/BundleActivator
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1007)
This is very strange. All the other bundles start fine. This bundle can't even find its osgi classes.