So, how can this be fixed? Any reason the resteasy jars can't be
included by default? Including the dependencies in the manifest is not
an option, IMO. Users shouldn't have to edit manifest files just to
deploy something.
On 6/21/11 3:25 PM, Scott Stark wrote:
Here is a thread on what I had to do to get a resteasy app working:
http://lists.jboss.org/pipermail/jboss-as7-dev/2011-June/002305.html
I'll create a jira issue for this as I'm putting together a resteasy
sample for the openshift express as7 cartridge.
On 6/21/11 11:53 AM, Jaikiran Pai wrote:
> Being discussed here
http://community.jboss.org/message/611170#611170
>
> -Jaikiran
> On Wednesday 22 June 2011 12:10 AM, Bill Burke wrote:
>> I haven't touched AS7 yet, somebody else did the integration. You're
>> gonna have to ask on the AS7 list
>>
>> On 6/21/11 2:12 PM, Juergen Zimmermann wrote:
>>> I'm trying to migrate a part of an EAR to JBoss 7 (Jenkins build 1241).
The
>>> EAR contains an EJB module with session beans, and some session beans are
>>> impl classes for interfaces with JAX-RS annotations (@Path, @GET, ...). The
>>> web module just consists of web.xml declaring some functionality for
>>> RESTEasy. I inserted into the META-INF/Manifest.MF file the following lines,
>>> but get a stacktrace (see below) when a GET request is submitted.
>>>
>>> Addition to the web module's Manifest.MF:
>>> Dependencies: org.jboss.resteasy.resteasy-jaxrs,
>>> org.jboss.resteasy.resteasy-jaxb-provider,
>>> org.jboss.resteasy.resteasy-jackson-provider,
>>> org.jboss.resteasy.async-http-servlet-30,
>>> org.jboss.resteasy.resteasy-cdi,
>>> org.jboss.resteasy.resteasy-multipart-provider
>>>
>>> Stacktrace for GET request:
>>> [org.jboss.resteasy.core.SynchronousDispatcher]
>>> (http-127.0.0.1-127.0.0.1-8080-2) Failed executing GET
>>> /kundenverwaltung/kunden/1:
>>> org.jboss.resteasy.core.NoMessageBodyWriterFoundFailure: Could not find
>>> MessageBodyWriter for response object of type:
>>> de.swe1.kundenverwaltung.domain.Privatkunde of media type: application/xml
>>> at
>>> org.jboss.resteasy.core.ServerResponse.writeTo(ServerResponse.java:202)
>>> [file:C:%5CSoftware%5Cjboss-7.0.0.CR1-b1241%5Cmodules%5Corg%5Cjboss%5Crestea
>>> sy%5Cresteasy-jaxrs%5Cmain%5Cresteasy-jaxrs-2.1.0.GA.jar:]
>>> at
>>> org.jboss.resteasy.core.SynchronousDispatcher.writeJaxrsResponse(Synchronous
>>> Dispatcher.java:563)
>>> [file:C:%5CSoftware%5Cjboss-7.0.0.CR1-b1241%5Cmodules%5Corg%5Cjboss%5Crestea
>>> sy%5Cresteasy-jaxrs%5Cmain%5Cresteasy-jaxrs-2.1.0.GA.jar:]
>>> ...
>>>
>>> The message body writers for JAXB/XML are included in the
>>> resteasy-jaxb-provider module. Any hint is appreciated.
>>>
>>>
>>>
>
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev