This content has been marked as final.
Show 2 replies
-
1. Re: ClassNotFoundException though module dependency is defined
ctomc Feb 23, 2012 7:01 AM (in response to ablet)Hi,
when you defined your own module, did you include all "provided" dependencies in module.xml so all dependencies of your module resources are included.
app server automatically adds some dependencies to your application based on what technologies you use (if you use jpa it will add javax.persistence module).
--
tomaz
-
2. Re: ClassNotFoundException though module dependency is defined
ablet Feb 24, 2012 1:43 AM (in response to ctomc)Thanks Tomaz, It was a great help.
I added following dependencies so far to my own module.xml and many ClassNotFoundExceptions are resolved:
<module name="javax.api" export="true"/>
<module name="org.apache.xalan" export="true"/>
I should now look for other dependencies that are missing.