Sometimes you may have a third party libraries
in your project which can cause conflicts with you server-embedded jars
. Removing embedded jars from your application server lib folder
can break other deployed apps.
Is there a way to disable server-embedded jars for only one project in TomEE, JBoss, GlassFish?