Hi Scott,

You're right (of course :-).

When I include those dependencies I see both spring-expression-3.0.5.RELEASE.jar and spring-expression-3.1.1.RELEASE.jar.

Without them I just have spring-expression-3.1.1.RELEASE.jar.

Earl
--


On Mon, 22 Oct 2012, Scott Battaglia <[email protected]> wrote:

I think you might have just masked the issue by changing that property.
If you look into the WEB-INF/lib directory, do you see multiple versions of 
Spring?


On Mon, Oct 22, 2012 at 4:53 PM, Earl Fogel <[email protected]> wrote:
     Hi,

     I'm using the Maven2 WAR Overlay method to build CAS.

     Everything works fine until I add dependencies for either
     cas-server-support-trusted or cas-server-support-openid in pom.xml, at
     which point deploying cas.war produces a fatal error in tomcat:

     2012-10-22 14:14:25,480 ERROR
     [org.springframework.web.context.ContextLoader] - <Context initialization
     failed>
     org.springframework.beans.factory.BeanCreationException: Error creating
     bean with name 'propertyPlaceholderConfigurer' defined in ServletContext
     resource [/WEB-INF/spring-configuration/propertyFileConfigurer.xml]:
     Initialization of bean failed; nested exception is
     java.lang.NoSuchFieldError: NULL

     I found a solution to this, which is to add
     p:ignoreResourceNotFound="true" to the propertyPlaceholderConfigurer bean
     in propertyFileConfigurer.xml.

     Could that change be made in 3.5.2?

     Earl Fogel
     Information and Communications Technology
     University of Saskatchewan
     --

     --
     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-dev




--
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-dev

Reply via email to