|
From: Attila K. <kir...@gm...> - 2010-05-14 06:28:41
|
Hi! I do not know why resteasy.scan does not work but as a workaround, you can disable resteasy.scan and configure your rest resources manually as standard spring beans in the applicationContext.xml, resteasy will pick them up from there. Attila 2010/5/13 Novin Jaiswal <nov...@is...> > Hi, I am new to Jboss rest easy web services. I have integrated it in > our spring based web application. But I am keep getting following exceptions > from last 1 and half day. My configuration settings are as follows in > web.xml Can somebody tell me wht am I doing wrong? You help is > appreciated. Attached file with error message, Jboss4.2.3, > resteasy-spring1.2.1.GA. > > > > <context-*param*> > > <param-name>*resteasy*.scan</param-name> > > <param-value>true</param-value> > > </context-*param*> > > > > <context-param> > > <param-name>*resteasy*.*servlet*.mapping.prefix</param-name> > > <param-value>/*api*</param-value> > > </context-param> > > > > <listener> > > <listener-class>*org*.*jboss*.*resteasy*.*plugins*.server.*servlet > *.ResteasyBootstrap</listener-class> > > </listener> > > <listener> > > <listenerclass>*org*.*resteasy*.*plugins* > .spring.SpringContextLoaderListener</listenerclass> > > </listener> > > > > <servlet> > > <servlet-name>Resteasy</servlet-name> > > <servlet-class> > org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher</ > servlet-class> > > </servlet> > > > > <servlet-mapping> > > <servlet-name>Resteasy</servlet-name> > > <url-pattern>/api/*</url-pattern> > > </servlet-mapping> > > Thanks & Regards > > Novin Jaiswal > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Resteasy-developers mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/resteasy-developers > > -- "I would rather write programs to write programs than write programs." |