0

Arquillian Cube isn't working with RestEasy Implementations.

I am getting error some things like below:

Caused by: javax.ws.rs.ProcessingException: RESTEASY003145: Unable to find a MessageBodyReader of content-type application/vnd.docker.raw-stream and type class java.io.InputStream

Asarudeen A
  • 59
  • 1
  • 11
  • Well I don't see any problem why it should not work, I will need more information. But for what I see is that you have in classpath two JAXRS implementations, the RestEasy and the one that comes with Docker-Java – lordofthejars Sep 22 '17 at 05:40
  • Yes I am having RestEasy as my JAXRS Implementation, but in Docker-Java they used Jersey as JAXRS Implementation. So I am getting above mentioned error. I think internally there is a conflict on Jaxrs Implementation. – Asarudeen A Sep 22 '17 at 10:54
  • Please check this link: https://developer.jboss.org/thread/261522 – Asarudeen A Sep 22 '17 at 10:56
  • Yeah, sadly we cannot do a lot about this. What I suggest is doing next thing. Create a "Maven/Gradle" module which will contain the functional tests, then at that point you don't need to define RestEasy just arquillian cube. Then everything would work. – lordofthejars Sep 22 '17 at 11:34
  • For example, In First Module all RestEasy Stuff and In Second Module Arquillian Cube Stuff's right? – Asarudeen A Sep 22 '17 at 11:56
  • Exactly. Also it can be considered a good practice. – lordofthejars Sep 22 '17 at 14:33

0 Answers0