This is due to class loader changes in AS7. There are no plans to make this work in AS7, but as a workaround if you embed the xyzmappings.jar into xyzjava.jar I think it should work.
Reply to this message by going to Community
Start a new discussion in JBoss AS7 Development at Community