Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
Description
Following the Weld-OSGi user guide (http://docs.jboss.org/weld/reference/1.2.0.Beta1/weld-osgi/user-guide/html/) with the latest 1.2.0-SNAPSHOT version,
Starting the custom bundle is throwing the exception:
16:13:32.164 [Gogo shell] ERROR o.j.w.e.o.i.i.Weld - Initialization of Weld instance for bundle com.sample.hello-world-multilingual [10] caused an error: java.lang.NoClassDefFoundError: org/jboss/weld/interceptor/InterceptorBindingType
java.lang.NoClassDefFoundError: org/jboss/weld/interceptor/InterceptorBindingType
This is because InterceptorBindingType class is used in weld-osgi-core-integration and the package is not imported in weld-osgi-core-integration nor exported in weld-osgi-core-mandatory