Its most likely not in there because you didn't declare the CAS LDAP Support as a required dependency in your local pom.xml.
We build using Maven (http://maven.apache.org) and recommend our deployers do the same: https://wiki.jasig.org/display/CASUM/Best+Practice+-+Setting+Up+CAS+Locally+using+the+Maven2+WAR+Overlay+Method Cheers, Scott On Mon, Nov 15, 2010 at 5:28 AM, Marco Nobler <[email protected] > wrote: > Hi All, > i'm evaluation CAS as SSO solution for my company: > i sownloaded the "3.4.3.1" CAS server. > > I started from the Quick Setup guide for Windows and i catched the > following exception: > Caused by: java.lang.NoClassDefFoundError: > org/springframework/ldap/NamingException > at java.lang.Class.getDeclaredConstructors0(Native Method) > at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) > at java.lang.Class.getConstructor0(Class.java:2671) > at java.lang.Class.getDeclaredConstructor(Class.java:1953) > at > org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:65) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:958) > ... 58 more > > I tried adding the "spring-ldap-core-1.3.0.RELEASE.jar" in WEB-INF/lib and, > in deployerConfigContext i replaced the AuthenticatedLdapContextSource with > LdapContextSource and all was ok. > > My quesiton is: wy the spring-ldap-core-1.3.0.RELEASE.jar was not in the > distribution? > > bye > Marco > > -- > 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
