Hi,
My application uses grails 1.3.7. it is using grails-gorm artifact as a
dependency. from this artifact, jta.jar is also being added as transitive
dependency in my WEB-INF/lib folder.
I want to exclude this jar from my war file, but this jar is required during
build of the project.
The reason behind excluding this jar file is , when i am deploying the war
including this jar file on jboss 6.1 I am getting following exception:

Caused by: java.lang.LinkageError: loader constraint violation: loader
(instance of org/jboss/classloader/spi/base/BaseClassLoader) previously
initiated loading for a different type with name
"javax/transaction/xa/XAResource"

Please help me in resolving this issue.
Thanks in advance.



--
View this message in context: 
http://maven.40175.n5.nabble.com/exclude-dependency-from-war-file-during-packaging-tp5573472p5573472.html
Sent from the Maven - Users mailing list archive at Nabble.com.

Reply via email to