Hi all,
We 're having trouble loading a custom resource within a WAR with TomEE
7.1.0
Basically, we have the following structure within our EAR:
EAR
--web-app.war
----WEB-INF
------classes
--------com
----------example
------------CustomResource.class
resources.xml
The resources.xml is as follows:
<resources>
<Resource id="customResource" class-name="com.example.CustomResource">
property value
</Resource>
</resources>
We get the following message:
org.apache.openejb.OpenEJBException: Unable to load type
'com.example.CustomResource' for
comp/env/openejb/Resource/app/customResource
Why is this not working?
Thanks!
Peter
--
Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html