Typically that means you've got conflicting Spring JARs on the classpath.

On Wed, Nov 10, 2010 at 12:23 PM, Bryan Wooten <[email protected]>wrote:

>  Ok, I had some bad xml in deployer config, but now I am getting this
> error:
>
>
>
>
> [#|2010-11-10T10:16:27.904-0700|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_
>
> ThreadID=28;_ThreadName=Thread-1;|2010-11-10 10:16:27,889 ERROR
> [org.springframework.web.context.ContextLoader] - <Co
>
> ntext initialization failed>
>
> org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected
> exception parsing XML document from Servle
>
> tContext resource [/WEB-INF/deployerConfigContext.xml]; nested exception is
> java.lang.NoSuchMethodError: org.springfr
>
>
> amework.beans.MutablePropertyValues.add(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/MutableProper
>
> tyValues;
>
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReade
>
> r.java:420)
>
>
>
> Bryan Wooten
>
>
>
> [email protected]
>
> Work: 801.585.9323
>
> Cell: 801.414.3593
>
>
>
> *From:* Bryan Wooten [mailto:[email protected]]
> *Sent:* Wednesday, November 10, 2010 9:03 AM
> *To:* [email protected]
> *Subject:* [cas-user] Still have Service Manager Troubles
>
>
>
> I installed a Glassfish 3 server which supports JPA 2. Now when I try to
> deploy CAS I get this error:
>
>
>
>
> [#|2010-11-10T08:49:24.847-0700|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=28;_ThreadName=Thread
>
> -1;|2010-11-10 08:49:24,829 ERROR
> [org.springframework.web.context.ContextLoader] - <Context initialization
> failed>
>
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'servicesManager' defined in ServletContext resource [/WEB-I
>
> NF/spring-configuration/applicationContext.xml]: Cannot resolve reference
> to bean 'serviceRegistryDao' while setting constructor argument; nested e
>
> xception is org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'serviceRegistryDao' defined in ServletContext r
>
> esource [/WEB-INF/deployerConfigContext.xml]: Cannot resolve reference to
> bean 'entityManagerFactory' while setting bean property 'entityManagerFac
>
> tory'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating bean
> with name 'entityManagerFactory' defined in
>
>  ServletContext resource [/WEB-INF/deployerConfigContext.xml]: Invocation
> of init method failed; nested exception is java.lang.AbstractMethodError:
>
>
>  
> org.springframework.orm.jpa.persistenceunit.SpringPersistenceUnitInfo.getValidationMode()Ljavax/persistence/ValidationMode;
>
>         at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
>
>         at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
>
>         at
> org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:479)
>
>         at
> org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)
>
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java
>
> :925)
>
>
>
> Has anyone gotten CAS Service Manager to work on Glassfish 3?
>
>
>
> Bryan Wooten
>
>
>
> [email protected]
>
> Work: 801.585.9323
>
> Cell: 801.414.3593
>
>
>
> --
>
> 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
>
> --
> 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
>
>

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