WEB-INF/lib/j2ee.jar
Remove that jar file from the application packaging. JBoss already ships with the required JavaEE classes.
neron17 wrote:
For the ear I understand that you asking for jars in the lib directory inside the ear-file right? However, I do not have a lib directory in the ear.
That's fine then. Just wanted to make sure, the application doesn't have unwanted jar files.
I finally got it to work. Removed the file as you said (Üthink I copied it for the classpath but now I took it directly into the ant configuration)
Thanks a lot to all for the effort