[
https://issues.jboss.org/browse/WFLY-3336?page=com.atlassian.jira.plugin....
]
Ingo Weiss commented on WFLY-3336:
----------------------------------
I've seen this before, it is not a WildFly bug, it is a Spring behaviour regarding
classloading of Spring when this is installed as a module.
The EJB needs to extend SpringBeanAutowiringSupport. That should do the trick.
Injection of SpringBean into EJB doesn't work if Spring is
installed as static module
-------------------------------------------------------------------------------------
Key: WFLY-3336
URL:
https://issues.jboss.org/browse/WFLY-3336
Project: WildFly
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: EJB
Affects Versions: 8.1.0.CR1
Reporter: Tomas Repel
Assignee: David Lloyd
If you inject SpringBean into EJB using SpringBeanAutowiringInterceptor and the Spring
core jars are available as static module, the injection doesn't work.
Reproducer:
https://github.com/trepel/WFLY-3336-Reproducer
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)