I created
https://issues.jboss.org/browse/AS7-1031 to track this, and have a fix in my branch that does not throw exceptions unless the class is actually used as an EE component.
Reply to this message by going to Community
Start a new discussion in JBoss AS7 Development at Community