I'm working from Marvin's reference overlay project (thanks for that btw).
 I've built and installed RC2-SNAPSHOT from trunk.

This is what I'm getting now, and as usual, has completely confused me:

Mar 1, 2010 10:18:34 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive cas.war
2010-03-01 10:18:36,230 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.createWebApplicationContext(ContextLoader.java:257)
 at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:196)
 at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
 at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3795)
 at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4252)
 at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
 at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:831)
 at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:720)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
 at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1218)
 at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
 at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
 at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1306)
 at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)
 at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)
 at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)
 at java.lang.Thread.run(Thread.java:637)
2010-03-01 10:18:36,231 ERROR
[org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/cas]] -
<Exception sending context initialized event to listener instance of class
org.springframework.web.context.ContextLoaderListener>
java.lang.NoSuchMethodError:
org.springframework.web.context.ConfigurableWebApplicationContext.setId(Ljava/lang/String;)V
at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:257)
 at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:196)
 at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
 at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3795)
 at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4252)
 at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
 at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:831)
 at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:720)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
 at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1218)
 at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
 at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
 at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1306)
 at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)
 at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)
 at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)
 at java.lang.Thread.run(Thread.java:637)
Mar 1, 2010 10:18:36 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Mar 1, 2010 10:18:36 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/cas] startup failed due to previous errors
WARN: The method class
org.apache.commons.logging.impl.SLF4JLogFactory#release() was invoked.
WARN: Please see http://www.slf4j.org/codes.html#release for an explanation.

mvn -version
Apache Maven 2.2.0 (r788681; 2009-06-26 06:04:01-0700)
Java version: 1.6.0_17
Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x" version: "10.6.2" arch: "x86_64" Family: "mac"

Tomcat Info: apache-tomcat-5.5.28

I doubt the dep tree is important at this point, but here it is anyway:

[INFO] [dependency:tree {execution: default-cli}]
[INFO] com.example.cas:cas-maven-war-overlay:war:1.0-SNAPSHOT
[INFO] +- org.jasig.cas:cas-server-webapp:war:3.4-RC2-SNAPSHOT:runtime
[INFO] \- org.jasig.cas:cas-server-support-ldap:jar:3.4-RC2-SNAPSHOT:runtime
[INFO]    +- org.jasig.cas:cas-server-core:jar:3.4-RC2-SNAPSHOT:runtime
[INFO]    |  +- com.github.inspektr:inspektr-audit:jar:1.0.0-RC2:runtime
[INFO]    |  |  \- com.github.inspektr:inspektr-common:jar:1.0.0-RC2:runtime
[INFO]    |  +-
org.jasig.service:person-directory-impl:jar:1.5.0-RC6:runtime
[INFO]    |  |  +- aopalliance:aopalliance:jar:1.0:runtime
[INFO]    |  |  +- com.sun.xml.bind:jaxb-impl:jar:2.1.12:runtime
[INFO]    |  |  |  \- javax.xml.bind:jaxb-api:jar:2.1:runtime
[INFO]    |  |  |     +- javax.xml.stream:stax-api:jar:1.0-2:runtime
[INFO]    |  |  |     \- javax.activation:activation:jar:1.1:runtime
[INFO]    |  |  +- commons-collections:commons-collections:jar:3.2.1:runtime
[INFO]    |  |  +-
org.jasig.service:person-directory-api:jar:1.5.0-RC6:runtime
[INFO]    |  |  \- org.springframework:spring-context:jar:2.5.6:runtime
[INFO]    |  +- commons-codec:commons-codec:jar:1.4:runtime
[INFO]    |  +- jdom:jdom:jar:1.0:runtime
[INFO]    |  +- org.springframework:spring-orm:jar:3.0.1.RELEASE:runtime
[INFO]    |  +- org.springframework:spring-jdbc:jar:3.0.1.RELEASE:runtime
[INFO]    |  +- org.springframework:spring-core:jar:3.0.1.RELEASE:runtime
[INFO]    |  |  \- org.springframework:spring-asm:jar:3.0.1.RELEASE:runtime
[INFO]    |  +- org.springframework:spring-beans:jar:3.0.1.RELEASE:runtime
[INFO]    |  +- org.springframework:spring-webmvc:jar:3.0.1.RELEASE:runtime
[INFO]    |  |  +-
org.springframework:spring-expression:jar:3.0.1.RELEASE:runtime
[INFO]    |  |  \- org.springframework:spring-web:jar:3.0.1.RELEASE:runtime
[INFO]    |  +-
org.springframework:spring-context-support:jar:3.0.1.RELEASE:runtime
[INFO]    |  +- org.hibernate:hibernate-annotations:jar:3.5.0-CR-2:runtime
[INFO]    |  |  +- org.hibernate:hibernate-core:jar:3.5.0-CR-2:runtime
[INFO]    |  |  |  +- antlr:antlr:jar:2.7.6:runtime
[INFO]    |  |  |  +- dom4j:dom4j:jar:1.6.1:runtime
[INFO]    |  |  |  |  \- xml-apis:xml-apis:jar:1.0.b2:runtime
[INFO]    |  |  |  \- javax.transaction:jta:jar:1.1:runtime
[INFO]    |  |  +-
org.hibernate:hibernate-commons-annotations:jar:3.2.0.Beta1:runtime
[INFO]    |  |  \-
org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.0-CR-1:runtime
[INFO]    |  +- org.apache.santuario:xmlsec:jar:1.4.3:runtime
[INFO]    |  +- org.opensaml:opensaml:jar:1.1b:runtime
[INFO]    |  +- javax.xml:xmldsig:jar:1.0:runtime
[INFO]    |  +- org.perf4j:perf4j:jar:log4jonly:0.9.12:runtime
[INFO]    |  \- commons-jexl:commons-jexl:jar:1.1:runtime
[INFO]    |     \- junit:junit:jar:3.8.1:runtime
[INFO]    +-
org.springframework.ldap:spring-ldap-core:jar:1.3.0.RELEASE:runtime
[INFO]    +-
org.springframework.ldap:spring-ldap-core-tiger:jar:1.3.0.RELEASE:runtime
[INFO]    |  \- org.springframework:spring-tx:jar:2.5.6:runtime
[INFO]    +- commons-lang:commons-lang:jar:2.4:runtime
[INFO]    +- log4j:log4j:jar:1.2.15:runtime
[INFO]    +-
org.springframework.webflow:spring-webflow:jar:2.0.8.RELEASE:runtime
[INFO]    |  +-
org.springframework.webflow:spring-binding:jar:2.0.8.RELEASE:runtime
[INFO]    |  \-
org.springframework.webflow:spring-js:jar:2.0.8.RELEASE:runtime
[INFO]    +- org.aspectj:aspectjrt:jar:1.6.7:runtime
[INFO]    +- org.aspectj:aspectjweaver:jar:1.6.7:runtime
[INFO]    +- javax.validation:validation-api:jar:1.0.0.GA:runtime
[INFO]    +- org.slf4j:slf4j-api:jar:1.5.8:runtime
[INFO]    +- org.slf4j:slf4j-log4j12:jar:1.5.8:runtime
[INFO]    \- org.slf4j:jcl-over-slf4j:jar:1.5.8:runtime
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------


On Mon, Mar 1, 2010 at 8:09 AM, Marvin Addison <[email protected]>wrote:

> > This is only in svn and not in the repo, right?
>
> Yes.  You'll have to build cas trunk locally via mvn install to put in
> your local maven repository, then you can test your overlay.
>
> M
>
> --
> 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