This content has been marked as final.
Show 1 reply
-
1. Re: Receive error Unable to find contextual data of type: javax.servlet.http.HttpServletRequest for Arquillian test
kpiwko Dec 10, 2014 4:14 AM (in response to davidj)Hi David,
Arquillian should support @Context injection in EJBs and given that you haven't got CNFE or CNDE exception, it looks like JAX-RS implementation was correctly added to the classpath by the container.
I can point you to continuous-enterprise-development/ch08.asciidoc at master · arquillian/continuous-enterprise-development · GitHub where REST testing is covered to a greater extend. Maybe it will help you to find out delta between your deployment and deployment there.
Karel