Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.5.5
-
Fix Version/s: 3.0 RC1
-
Component/s: None
-
Labels:None
-
Last commented by a User:true
Description
The spring scanner functionality do not work when I create my ApplicationContext from a EJB managed by JBoss. I do test the same spring application context on diferents enviroments. Just on a managed EJB on a JBoos it is not workin.
EJB code
appContext = new GenericApplicationContext();
ClassPathBeanDefinitionScanner scanner = new ClassPathBeanDefinitionScanner(appContext);
scanner.scan("com");
appContext.refresh();
Annotated class
@Service
public class TransactionService {
Exception
ERROR: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'transactionService' is defined