Hi !

I have CAS v3.5.2 and activated ClearPass extension followed documentation : 
https://wiki.jasig.org/display/CASUM/ClearPass.

Compilation works fine but execution show this error :

ERROR [org.jasig.cas.web.init.SafeContextLoaderListener] - 
SafeContextLoaderListener: 
The Spring ContextLoaderListener we wrap threw on contextInitialized.
But for our having caught this error, the web application context would not 
have initialized.
java.lang.NoClassDefFoundError: Lnet/sf/ehcache/CacheManager;

File cas/pom.xml contains theses references to ehcache :

<dependency>
  <groupId>net.sf.ehcache</groupId>
  <artifactId>ehcache-core</artifactId>
  <version>${ehcache.version}</version>
</dependency>

<dependency>
  <groupId>org.jasig.cas</groupId>
  <artifactId>cas-server-integration-ehcache</artifactId>
  <version>${ehcache.version}</version>
  <scope>runtime</scope>
</dependency>

<modules>
...
    <module>cas-server-integration-ehcache</module>
...
</modules>

<properties>
...
   <ehcache.version>2.6.0</ehcache.version>
...
</properties>

Have any advice to resolve my problem ?

Thanks,
Sylvain
-- 
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

Reply via email to