binding-hazelcast-runtime causes a ClassNotFound exception when running Tuscany
SCA 2.0 under OSGi
--------------------------------------------------------------------------------------------------
Key: TUSCANY-3515
URL: https://issues.apache.org/jira/browse/TUSCANY-3515
Project: Tuscany
Issue Type: Bug
Affects Versions: Java-SCA-Next
Reporter: Mike Edwards
Assignee: Mike Edwards
Fix For: Java-SCA-Next
Running Tuscany Java SCA 2.0 under OSGi with the binding-hazelcast-runtime
module in the build cases a ClassNotFound exception for the class
org.apache.tuscany.sca.assembly.xml.DefaultBeanModelProcessor
- this can be reproduced using any (positive) OASIS SCA Assembly testcase such
as ASM_5002, using the RuntimeBridge which starts Tuscany under OSGi.
The problem is caused by the
META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor
file in the binding-hazelcast-runtime module having a reference to
org.apache.tuscany.sca.assembly.xml.DefaultBeanModelProcessor, which causes the
bundle to attempt to load this class when the module is loaded during startup.
Meanwhile there is no import-package statement in the MANIFEST.MF of this
module for the package org.apache.tuscany.sca.assembly.xml. Hence the
inability to find the class.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.