@Resource injection not working for RESTEasy endpoints in JBoss EAP 6.2
Issue
Unable to inject DataSource
in RestEasy
resource using @Resource
. It is always null when we try to inject it. What could be wrong?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.