JBOSS-javax.inject.DefinitionException: import not a Java type
I got this error while executing spring-jdbc with spring secuirty. The reason is the name- of the beans.xml file. Looks like jboss doesnt like beans.xml . I renamed my beans.xml file to jdbc-beans.xml. The error was gone.