JBoss Community

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

created by Insipid Insipid in Beginner's Corner - View the full discussion

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

Start a new discussion in Beginner's Corner at Community