[jboss-as7-dev] Reducing the time spent in fixing CNFE issues due to missing dependencies in module.xml
Jaikiran Pai
jpai at redhat.com
Thu Feb 17 06:05:02 EST 2011
I have been quite frequently running into classloading problems while
working with AS7. It's mainly a result of not having the correct
dependencies setup in my module.xml. For example, if I have class which
imports some classes from jboss-common-core module (let's assume that's
the name) and some other classes from jboss-transaction-integration
module then the build completes successfully and it's only during
runtime that I start running into CNFE and/or NCDFE issues. I then I
have to individually track down these dependencies *one at a time* and
then go back to add it as a dependency in my module.xml.
Is there any better way to manage this? I am aware that just adding
anything and everything in the module.xml isn't a right approach, but
atleast for classes which are directly imported into other classes of a
module, it would be better to somehow automate (or better manage) the
process of setting up the module.xml. That would atleast minimize the
time spent in fixing the module.xml by trial and error method. Thoughts?
-Jaikiran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20110217/be0ae4cf/attachment.html
More information about the jboss-as7-dev
mailing list