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.


Popular posts from this blog

Jquery Table Inline Edititing

Spring MVC- Redirect from one controller to another