|
From: xia y. <y2...@ya...> - 2013-01-24 23:13:16
|
I am using it outside of JBoss,
How to manually register it? any sample code? web page I can find?
I checked the reasteasy-jackson-provider package, which appears to be very simple.
If I write my own reasteasy-jackson2-provider, how does resteasy find my provider?
thanks
David
________________________________
From: Bill Burke <bb...@re...>
To: res...@li...
Sent: Thursday, January 24, 2013 2:48 PM
Subject: Re: [Resteasy-developers] Use jackson 2.0 with Resteasy?
Can't use jackson 2.0 in JBoss AS7 yet. I don't have the resteasy files
either. If you're running outside of AS7, you can include the Jackson
JAX-RS libraries directly and manually register the providers.
On 1/24/2013 4:49 PM, xia you wrote:
> Hi all,
> How to use jackson 2.0 with resteasy/spring?
>
> I try to setup with jackson. and it obviously still looking for older
> jackson 1 class:
>
> 2013-01-24 13:35:15,871 [qtp1201491826-17] WARN RegisterBuiltin -
> NoClassDefFoundError: Unable to load builtin provider:
> org.jboss.resteasy.plugins.providers.jackson.ResteasyJacksonProvider
> java.lang.NoClassDefFoundError:
> org/codehaus/jackson/jaxrs/JacksonJsonProvider
>
> I guess
>
> <dependency>
> <groupId>org.jboss.resteasy</groupId>
>
> <artifactId>resteasy-jackson-provider</artifactId>
> <version>${resteasy.version}</version>
> </dependency>
> is the troubled one.
>
> Anything like resteasy-jackson2-provider?
>
> thanks
> David
>
>
>
>
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnnow-d2d
>
>
>
> _______________________________________________
> Resteasy-developers mailing list
> Res...@li...
> https://lists.sourceforge.net/lists/listinfo/resteasy-developers
>
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Resteasy-developers mailing list
Res...@li...
https://lists.sourceforge.net/lists/listinfo/resteasy-developers |