+1 to use of the Jackson JSON serialization library. We're using it in uPortal and several portlet projects and have had good luck with it so far.
- Jen On Oct 10, 2012, at 3:34 AM, "Pronstad, Thomas" <thomas.prons...@get.no> wrote: > > > On 17.09.12 20:46, "jleleu" <lel...@gmail.com> wrote: > >> Hi, >> >> The spring-2.5.6.jar is now present in the WEB-INF/lib directory of the >> CAS server webapp. >> Following the Maven dependency tree, I see : >> [INFO] +- net.sf.spring-json:spring-json:jar:1.3.1:runtime >> [INFO] | +- org.springframework:spring:jar:2.5.6:runtime >> >> It looks like the spring-json dependency brings back the spring-2.5.6.jar. >> >> It comes with the pull request #108. Even if there is some generic >> exclusion of dependencies, it doesn't seem to work : >> <exclusion> >> <groupId>org.springframework</groupId> >> <artifactId>*</artifactId> >> >> Because of this spring-2.5.6.jar, I have a NoSuchMethodError at start up. >> Removing it makes webapp starts without any problem. >> >> Does someone have the same problem ? > > > I have an issue with one of the other dependencies that spring-json drags > into cas webapp. > > Our overlay uses some of our own extensions for one time passwords that > uses cglib (spring annotation configuration requirement). > > The spring-json lib uses cglib-full 2.0.X which is outdated and collides > with other cglib artifacts. > > Not sure why spring-json library is used, not the spring 3 > JacksonJsonView, but it seems spring-json uses somewhat old dependencies. > Last release of spring-json was back in 2010. > > As cglib-full is not an artifact that comes in newer versions (cglib 2.2.2 > is newest) we have to exclude spring-json from the webapp overlay and > include it with the required exclusions in our overlayed pom. > > Even if this is not a bug, it's annoying for anyone that uses spring > annotation configuration or other artifacts that requires cglib when > extending CAS. > > > Regards > > Thomas Pronstad > Senior developer > > > Get® > Phone +47 21 90 00 00 > Mobile +47 957 82 364 > > http://www.get.no <http://www.get.no/> > > > > > > > > > > -- > You are currently subscribed to cas-dev@lists.jasig.org as: > jennifer.bou...@gmail.com > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-dev > -- You are currently subscribed to cas-dev@lists.jasig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev