Hello all,

I'm replying in case someone else has this problem. I've had a similar 
stack trace and the problem was that: *resteasy.scan was set to true*.

Nov 07, 2013 1:26:00 PM org.apache.catalina.core.StandardContext 
listenerStart
SEVERE: Exception sending context initialized event to listener instance of 
class 
org.jboss.resteasy.plugins.guice.GuiceResteasyBootstrapServletContextListener
java.lang.RuntimeException: Could not find constructor for class: 
de.elo.feedserver.service.Feed
at 
org.jboss.resteasy.spi.metadata.ResourceBuilder.constructor(ResourceBuilder.java:683)
at 
org.jboss.resteasy.plugins.server.resourcefactory.POJOResourceFactory.registered(POJOResourceFactory.java:41)
at 
org.jboss.resteasy.core.ResourceMethodRegistry.addResourceFactory(ResourceMethodRegistry.java:207)

(resteasy-jaxrs-3.0.5.Final)

Regards,
Andrei


On Friday, July 26, 2013 9:57:20 PM UTC+2, [email protected] 
wrote:
>
> Ok Sam, looks like you were right. I got it to work. Problem was in my 
> web.xml for my Resteasy app. In case anyone makes the same mistake, here is 
> what I had to change: 
>
>     <context-param>
>
>         <param-name>resteasy.scan</param-name>
>
>         <param-value>false</param-value>   
>
>     </context-param>
>
>     <!-- NEEDED TO REMOVE THE RESTEASY RESOURCE LIST 
>
>     <context-param>
>
>         <param-name>resteasy.resources</param-name>
>
>         <param-value>Foo</param-value>   
>
>     </context-param>
>
>     -->
>
>     <context-param>
>
>         <param-name>resteasy.guice.modules</param-name>
>
>         <param-value>FooModule</param-value>
>
>     </context-param>
>
> Having both the guice.modules and rest easy.resources defined was 
> redundant and caused the problem. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to