Anybody seen this error before when compiling cas. I think the last line in this is the most important. No default constructor found; nested exception is java.lang.NoSuchMethodException: net.sf.ehcache.distribution.RMIBootstrapCacheLoader.<init>() Running on RHEL 6.6 tomcat6 java 7 tried using java 6 same error also tried using ehcache 2.7.7 same error
CLASSPATH is set to .:/cas/classes /cas/classes has the ehcache-2.9.0.jar in it. Thanks for any help. testWiring(org.jasig.cas.WiringTests): Error creating bean with name 'handlerMappingC' defined in URL [file:src/main/webapp/WEB-INF/cas-servlet.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'proxyValidateController' defined in URL [file:src/main/webapp/WEB-INF/cas-servlet.xml]: Cannot resolve reference to bean 'centralAuthenticationService' while setting bean property 'centralAuthenticationService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'centralAuthenticationService' defined in file [/opt/cas-4.0.1/cas-server-webapp/src/main/webapp/WEB-INF/spring-configuration/applicationContext.xml]: Cannot resolve reference to bean 'ticketRegistry' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ticketRegistry' defined in file [/opt/cas-4.0.1/cas-server-webapp/src/main/webapp/WEB-INF/spring-configuration/ticketRegistry.xml]: Cannot resolve reference to bean 'serviceTicketsCache' while setting bean property 'serviceTicketsCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serviceTicketsCache' defined in file [/opt/cas-4.0.1/cas-server-webapp/src/main/webapp/WEB-INF/spring-configuration/ticketRegistry.xml]: Cannot resolve reference to bean 'ticketCacheBootstrapCacheLoader' while setting bean property 'bootstrapCacheLoader'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ticketCacheBootstrapCacheLoader' defined in file [/opt/cas-4.0.1/cas-server-webapp/src/main/webapp/WEB-INF/spring-configuration/ticketRegistry.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [net.sf.ehcache.distribution.RMIBootstrapCacheLoader]: No default constructor found; nested exception is java.lang.NoSuchMethodException: net.sf.ehcache.distribution.RMIBootstrapCacheLoader.<init>() -- 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
