openejb-demo_does_not_find_application_exception_in_different_module.zip
<http://openejb.979440.n4.nabble.com/file/n4661484/openejb-demo_does_not_find_application_exception_in_different_module.zip>
  

Here i send you the demo maven projects which shows this issue.
*OpenEjbServiceAPI:*
Contains the ServiceAPI and the exceptions

*OpenEjbServiceImpl:*
Contains the service impl and the tests.

If the supertype excption
'com.clevercure.demo.openejb.service.exception.ApplicationException'
(annotated with @ApplicationException) is added to the
OpenEjbServiceImpl#META-INF/ejb-jar.xml (application-exception) then the
test will work, otherwise the thrown application exception is wrapped into
an EJBException.



--
View this message in context: 
http://openejb.979440.n4.nabble.com/OpenEjb-cannot-find-ApplicationExcption-in-different-module-API-module-tp4661442p4661484.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to