[ https://issues.apache.org/jira/browse/TUSCANY-1364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506617 ]
Brian Murray commented on TUSCANY-1364: --------------------------------------- Symptom: Prior to this patch I was seeing a java.lang.NoClassDefFoundError: org.apache.tuscany.sdo.model.internal.InternalFactory > sdo-impl should export org.apache.tuscany.sdo.model.internal > ------------------------------------------------------------ > > Key: TUSCANY-1364 > URL: https://issues.apache.org/jira/browse/TUSCANY-1364 > Project: Tuscany > Issue Type: Bug > Reporter: Brian Murray > Attachments: 1364.patch > > > The org.apache.tuscany.sdo.model.internal package was introduced somewhat > recently, and is visible in a statically generated class. The problem is > that the impl project does not export this package. > For example, I ran the XSD2JavaGenerator tool on > sdo\impl\src\test\resources\bank.xsd and here are some snippets from the > resulting MybankFactory.impl: > import org.apache.tuscany.sdo.model.internal.InternalFactory; > ....... > public static MybankFactoryImpl init() > { > if (isInited) return > (MybankFactoryImpl)FactoryBase.getStaticFactory(MybankFactoryImpl.NAMESPACE_URI); > MybankFactoryImpl theMybankFactoryImpl = new MybankFactoryImpl(); > isInited = true; > // Initialize dependencies > SDOUtil.registerStaticTypes(SDOFactory.class); > SDOUtil.registerStaticTypes(ModelFactory.class); > SDOUtil.registerStaticTypes(InternalFactory.class); > I am providing a patch to the sdo/impl/pom.xml which will export this package. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]