I'm having trouble getting persondir loaded in a new CAS setup.
 Essentially, persondir is trying to require spring 2.5.6 but
cas-server-core is requiring 3.1.1.

I've tried to explicitly require the 3.1.1 versions, however i'm still
seeing traces like this:

2014-02-05 14:49:17,508 ERROR
[org.springframework.web.context.ContextLoader] - <Context initialization
failed>
java.lang.NoSuchMethodError:
org.springframework.web.context.ConfigurableWebApplicationContext.setId(Ljava/lang/String;)V
        at
org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:369)

I can of course provide a full trace if desired. A few searches indicate
that this is a spring version mismatch. I'm stumped. Is there a known good
combination of versions?



$  mvn dependency:tree
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for edu.pdx:cas:war:1.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.mojo:tomcat-maven-plugin is missing. @ line 119, column 14
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-war-plugin is missing. @ line 84, column 17
[WARNING] The expression ${artifactId} is deprecated. Please use
${project.artifactId} instead.
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.
[WARNING]
[INFO]

[INFO]
------------------------------------------------------------------------
[INFO] Building CAS overlay 3.5.2 1.0.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ cas ---
[INFO] edu.pdx:cas:war:1.0.0-SNAPSHOT
[INFO] +- org.jasig.cas:cas-server-support-oauth:jar:3.5.2:runtime
[INFO] |  +- org.jasig.cas:cas-server-core:jar:3.5.2:compile
[INFO] |  |  +- log4j:log4j:jar:1.2.15:compile
[INFO] |  |  +- com.github.inspektr:inspektr-audit:jar:1.0.7.GA:compile
[INFO] |  |  |  \- com.github.inspektr:inspektr-common:jar:1.0.7.GA:compile
[INFO] |  |  +- commons-codec:commons-codec:jar:1.4:compile
[INFO] |  |  +- jdom:jdom:jar:1.0:compile
[INFO] |  |  +- org.springframework:spring-orm:jar:3.1.1.RELEASE:compile
[INFO] |  |  +- org.springframework:spring-jdbc:jar:3.1.1.RELEASE:compile
[INFO] |  |  +- org.springframework:spring-webmvc:jar:3.1.1.RELEASE:compile
[INFO] |  |  |  +- org.springframework:spring-asm:jar:3.1.1.RELEASE:compile
[INFO] |  |  |  \- org.springframework:spring-web:jar:3.1.1.RELEASE:compile
[INFO] |  |  +-
org.springframework:spring-context-support:jar:3.1.1.RELEASE:compile
[INFO] |  |  +-
org.springframework.security:spring-security-core:jar:3.1.0.RELEASE:compile
[INFO] |  |  |  +- org.springframework:spring-aop:jar:3.0.6.RELEASE:compile
[INFO] |  |  |  \-
org.springframework.security:spring-security-crypto:jar:3.1.0.RELEASE:compile
[INFO] |  |  +- org.hibernate:hibernate-core:jar:4.1.0.Final:compile
[INFO] |  |  |  +- antlr:antlr:jar:2.7.7:compile
[INFO] |  |  |  +-
org.jboss.spec.javax.transaction:jboss-transaction-api_1.1_spec:jar:1.0.0.Final:compile
[INFO] |  |  |  +- dom4j:dom4j:jar:1.6.1:compile
[INFO] |  |  |  +-
org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.1.Final:compile
[INFO] |  |  |  +- org.jboss.logging:jboss-logging:jar:3.1.0.CR2:compile
[INFO] |  |  |  +- org.javassist:javassist:jar:3.15.0-GA:compile
[INFO] |  |  |  \-
org.hibernate.common:hibernate-commons-annotations:jar:4.0.1.Final:compile
[INFO] |  |  +- org.apache.santuario:xmlsec:jar:1.4.3:compile
[INFO] |  |  +- org.opensaml:opensaml:jar:2.5.1-1:compile
[INFO] |  |  |  +- org.opensaml:openws:jar:1.4.2-1:compile
[INFO] |  |  |  |  +- org.opensaml:xmltooling:jar:1.3.2-1:compile
[INFO] |  |  |  |  |  +- org.slf4j:jul-to-slf4j:jar:1.6.1:compile
[INFO] |  |  |  |  |  +- org.bouncycastle:bcprov-jdk15:jar:1.45:compile
[INFO] |  |  |  |  |  +-
ca.juliusdavies:not-yet-commons-ssl:jar:0.3.9:compile
[INFO] |  |  |  |  |  \- net.jcip:jcip-annotations:jar:1.0:compile
[INFO] |  |  |  |  \- commons-httpclient:commons-httpclient:jar:3.1:compile
[INFO] |  |  |  +- velocity:velocity:jar:1.5:compile
[INFO] |  |  |  +- org.owasp.esapi:esapi:jar:2.0GA:compile
[INFO] |  |  |  +- xml-apis:xml-apis:jar:1.4.01:compile
[INFO] |  |  |  +- xerces:xercesImpl:jar:2.10.0:runtime
[INFO] |  |  |  +- xml-resolver:xml-resolver:jar:1.2:runtime
[INFO] |  |  |  \- xalan:xalan:jar:2.7.1:runtime
[INFO] |  |  |     \- xalan:serializer:jar:2.7.1:runtime
[INFO] |  |  +- javax.xml:xmldsig:jar:1.0:compile
[INFO] |  |  +- org.perf4j:perf4j:jar:log4jonly:0.9.14:compile
[INFO] |  |  +- commons-jexl:commons-jexl:jar:1.1:runtime
[INFO] |  |  |  \- junit:junit:jar:3.8.1:runtime
[INFO] |  |  \- commons-io:commons-io:jar:2.0:compile
[INFO] |  +- org.scribe:scribe-up:jar:1.2.0:runtime
[INFO] |  |  +- org.scribe:scribe:jar:1.3.2:runtime
[INFO] |  |  +-
com.fasterxml.jackson.core:jackson-databind:jar:2.0.6:runtime
[INFO] |  |  |  +-
com.fasterxml.jackson.core:jackson-annotations:jar:2.0.6:runtime
[INFO] |  |  |  \- com.fasterxml.jackson.core:jackson-core:jar:2.0.6:runtime
[INFO] |  |  \- org.apache.commons:commons-lang3:jar:3.1:runtime
[INFO] |  +- org.aspectj:aspectjrt:jar:1.6.10:compile
[INFO] |  +- org.aspectj:aspectjweaver:jar:1.6.10:compile
[INFO] |  +- javax.validation:validation-api:jar:1.0.0.GA:compile
[INFO] |  +- org.slf4j:slf4j-api:jar:1.7.1:compile
[INFO] |  +- org.slf4j:slf4j-log4j12:jar:1.7.1:runtime
[INFO] |  \- org.slf4j:jcl-over-slf4j:jar:1.7.1:compile
[INFO] +- org.jasig.cas:cas-server-support-ldap:jar:3.5.2:compile
[INFO] |  +-
org.springframework.webflow:spring-webflow:jar:2.3.0.RELEASE:compile
[INFO] |  |  +-
org.springframework.webflow:spring-binding:jar:2.3.0.RELEASE:compile
[INFO] |  |  \-
org.springframework.webflow:spring-js:jar:2.3.0.RELEASE:compile
[INFO] |  |     \-
org.springframework.webflow:spring-js-resources:jar:2.3.0.RELEASE:compile
[INFO] |  +-
org.springframework.ldap:spring-ldap-core:jar:1.3.1.RELEASE:compile
[INFO] |  +-
org.springframework.ldap:spring-ldap-core-tiger:jar:1.3.1.RELEASE:compile
[INFO] |  +- org.springframework:spring-expression:jar:3.1.1.RELEASE:compile
[INFO] |  \- joda-time:joda-time:jar:2.1:compile
[INFO] +- org.jasig.cas:cas-server-webapp:war:3.5.2:runtime
[INFO] +- org.jasig.cas:cas-server-integration-ehcache:jar:3.5.2:compile
[INFO] |  \- net.sf.ehcache:ehcache-core:jar:2.6.0:compile
[INFO] \-
org.jasig.service.persondir:person-directory-impl:jar:1.5.2-M1:compile
[INFO]    +- aopalliance:aopalliance:jar:1.0:compile
[INFO]    +- com.sun.xml.bind:jaxb-impl:jar:2.2:compile
[INFO]    |  \- javax.xml.bind:jaxb-api:jar:2.2:compile
[INFO]    |     +- javax.xml.stream:stax-api:jar:1.0-2:compile
[INFO]    |     \- javax.activation:activation:jar:1.1:compile
[INFO]    +- commons-collections:commons-collections:jar:3.2.1:compile
[INFO]    +- commons-lang:commons-lang:jar:2.5:compile
[INFO]    +- commons-logging:commons-logging:jar:1.1.1:compile
[INFO]    +-
org.jasig.service.persondir:person-directory-api:jar:1.5.2-M1:compile
[INFO]    +- org.springframework:spring-beans:jar:2.5.6:compile
[INFO]    +- org.springframework:spring-context:jar:2.5.6:compile
[INFO]    +- org.springframework:spring-core:jar:2.5.6:compile
[INFO]    \- org.springframework:spring-tx:jar:2.5.6:compile
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1.201s
[INFO] Finished at: Wed Feb 05 15:12:31 PST 2014
[INFO] Final Memory: 15M/303M
[INFO]
------------------------------------------------------------------------

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