I am working on Smooks mediator logic in WSo2 ESB. I believe I have everything in place with my smooks configuration file, proxy, and jar files but when I execute my tests i am getting the following error:
2015-10-03 23:25:05,903 [-] [vfs-Worker-1] ERROR NativeWorkerPool Uncaught exception
java.lang.NoClassDefFoundError: org/milyn/Smooks
at org.wso2.carbon.mediator.transform.SmooksMediator.createSmooksConfig(SmooksMediator.java:197)
at org.wso2.carbon.mediator.transform.SmooksMediator.mediate(SmooksMediator.java:92)
at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131)
at org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:166)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
I have downloaded the smooks 1.5 all file and copied the jar files over to my ESB directory:
/opt/wso2esb-4.8.1/repository/components/lib
I believe this is were I need the jar files to be so I am confused with the error that it cannot find the Smooks class. Is there additional configuration, jars in the wrong lib, etc? I keep trying different things but in the end I am always getting this error. My thought is maybe the ESB is looking in a different place than where I have put the jars? Has anyone had this problem? I would greatly appreciate any help that can be provided. Thanks for your time.