That's a new one. Do you have a Maven overlay project you can zip up and include here? I'll try it out if you do (remove any secret passwords, etc. :-))
On Thu, Oct 18, 2012 at 11:32 AM, Tim Robinson <[email protected]>wrote: > I am having trouble activating the RESTful API on CAS 3.5.1. > > Using the WAR overlay method to package CAS I added the following to > pom.xml: > > <dependency> > <groupId>org.jasig.cas</groupId> > <artifactId>cas-server-integration-restlet</artifactId> > <version>${cas.version}</version> > <type>jar</type> > <exclusions> > <exclusion> > <groupId>org.springframework</groupId> > <artifactId>spring-web</artifactId> > </exclusion> > <exclusion> > <groupId>javax.servlet</groupId> > <artifactId>servlet-api</artifactId> > </exclusion> > </exclusions> > </dependency> > > > Deploying the produced WAR on Tomcat 6 throws the following exception: > > 2012-10-18 11:02:54,257 ERROR > [com.noelios.restlet.ext.spring.RestletFrameworkServlet] - <Context > initialization failed> > org.springframework.beans.factory.BeanCreationException: Error creating > bean with name 'root' defined in ServletContext resource > [/WEB-INF/restlet-servlet.xml]: Cannot create inner bean > 'org.restlet.ext.spring.SpringFinder#68dd6317' of type > [org.restlet.ext.spring.SpringFinder] while setting bean property > 'attachments' with key [TypedStringValue: value [/tickets], target type > [null]]; nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating > bean with name 'org.restlet.ext.spring.SpringFinder#68dd6317' defined in > ServletContext resource [/WEB-INF/restlet-servlet.xml]: Instantiation of > bean failed; nested exception is java.lang.StackOverflowError > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281) > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120) > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedMap(BeanDefinitionValueResolver.java:378) > > Has anyone seen this before? Perhaps a dependency/version issue? > Playing with CAS is my first foray into Java dev so any help would be > appreciated. > > Thanks. > Tim > > > > -- > You are currently subscribed to [email protected] as: > [email protected] > > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > > -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
