[jboss-user] [Beginner's Corner] - How to deploy ear with utility jar that imports javax.management

Insipid Insipid do-not-reply at jboss.com
Tue Aug 16 16:30:14 EDT 2011


Insipid Insipid [http://community.jboss.org/people/insipid] created the discussion

"How to deploy ear with utility jar that imports javax.management"

To view the discussion, visit: http://community.jboss.org/message/621333#621333

--------------------------------------------------------------
I built an ear application that requires a third-party jar in the ear lib.  The jar contains a class (that is never used) that references javax.management.j2ee.statistics.stats.  This causes a ClassNotFoundException: javax.management.j2ee.statistics.stats when trying to deploy the ear.  I did not notice a jar containing this class in the javax modules directory.  Is there a way I can either resolve this dependency or allow JBoss to deploy without resolving it since the application doesn't need it?  I am having difficultly finding an answer to this in the Developer Guide.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/621333#621333]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110816/def03f12/attachment.html 


More information about the jboss-user mailing list