1 Reply Latest reply on Jul 7, 2016 12:20 PM by Dennis Boldt

    ProcessingException: RESTEASY003215

    Dennis Boldt Newbie



      I deployed a JAX-RS service on my Wildfly 10, which worked out of the box. Now, I need to call another REST interface within my JAX-RS interface. I do it as follows:

      config = new ClientConfig();
      Client client = ClientBuilder.newClient(config);
      Response res = client.target(url
      ).request().post(Entity.entity("DATA", MediaType.TEXT_PLAIN));


      Unfortunately, this throws an exception:


      17:42:45,962 ERROR [stderr] (default task-1) Caused by: javax.ws.rs.ProcessingException: RESTEASY003215: could not find writer for content-type text/plain type: java.lang.String


      Which dependency do I miss?