Problem with Smooks Editor in JBDS
Issue
- I'm having a problem creating a Smooks configuration using JBoss Developer Studio. The following error is reported when I try to save the configuration file after creating a mapping between an example XML file and Java class. I have the following element in my smooks configuration:
<!-- On each order-item, route the "orderItemFragment" bean to the -->
<esbr:routeBean beanIdRef="orderItemFragment" toServiceCategory="QS" toServiceName="Receiver" routeOnElement="order-item">
<condition idRef="routeItem" />
</esbr:routeBean>
The issue can be reproduced with the smooks_file_splitter_router quickstart project.
org.eclipse.emf.common.util.WrappedException: java.lang.ClassNotFoundException: org.jboss.tools.smooks.model.esbrouting.EsbroutingPackage
at org.eclipse.emf.ecore.plugin.RegistryReader$EPackageDescriptor.getEPackage(RegistryReader.java:279)
at org.eclipse.emf.ecore.impl.EPackageRegistryImpl.getEPackage(EPackageRegistryImpl.java:133)
at org.eclipse.emf.ecore.impl.EPackageRegistryImpl.delegatedGetEPackage(EPackageRegistryImpl.java:196)
...
at org.eclipse.emf.ecore.plugin.RegistryReader$EPackageDescriptor.getEPackage(RegistryReader.java:272)
... 55 more
Can you please advise how to resolve this issue ?
Environment
- JBoss Developer Studio (JBDS)
- 4.1.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
