0 Replies Latest reply on Aug 16, 2011 3:21 PM by insipid

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

    insipid

      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.