There is a lot of stuff in that pom indeed... I almost want to try to
remove part of it to just get it to deploy properly and then add
dependencies one by one to see when it would break. Before we do that, can
you add commons-dbcp. You might play with version a little bit...
<!-- For the connection pool to the db -->
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<version>1.4</version>
<scope>runtime</scope>
</dependency>
Also, have you followed this document:
https://wiki.jasig.org/display/CASUM/Upgrading. You would need to change
few things around in deploymentConfigContext, etc. Maybe you are using old
bean names. Could you also provide us with a copy of your
deployerConfigContext.xml?
On Fri, Aug 15, 2014 at 11:03 AM, Jeff Chapin <[email protected]> wrote:
> Sure thing. Since it's a bit long, I put it in a pastebin here:
> http://pastebin.com/KgYD79aN
>
> Thanks for looking!
>
>
> Jeff
>
>
> On Fri, Aug 15, 2014 at 9:55 AM, Al Krinker <[email protected]> wrote:
>
>> Seems like spring version/jar conflict. Could you post your pom.xml file?
>>
>>
>> On Friday, August 15, 2014, Jeff Chapin <[email protected]> wrote:
>>
>>> All,
>>>
>>> I am working on getting CAS 3.5.2 configured and compiled. We previously
>>> had a working 3.3.5 install, and I used the existing documentation as a
>>> starting point, and adapted it to address the changes between the two
>>> versions. I can successfully build with Maven, with no issues.
>>>
>>> When I deploy this to Tomcat, I am seeing the following error in the
>>> logs. It looks like I might have a version issue in the dependencies, but I
>>> am unclear how to get this resolved.
>>>
>>> 2014-08-06 13:26:57,987 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-INF/spring-configuration/applicationContext.xml]: Cannot resolve
>>> reference to bean 'serviceRegistryDao' while setting constructor argument;
>>> nested exception is
>>> org.springframework.beans.factory.BeanCreationException: Error creating
>>> bean with name 'serviceRegistryDao' defined in ServletContext resource
>>> [/WEB-INF/deployerConfigContext.xml]: Cannot resolve reference to bean
>>> 'entityManagerFactory' while setting bean property 'entityManagerFactory';
>>> 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.IncompatibleClassChangeError: Implementing
>>> class
>>>
>>> Thanks for any help,
>>> Jeff
>>> --
>>>
>>> Jeff Chapin,
>>> Assistant Systems/Applications Administrator
>>> ITS-IS, University of Northern Iowa
>>> Phone: 319-273-3162 Email: [email protected]
>>>
>>> --
>>> 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
>>
>>
>
>
> --
>
> Jeff Chapin,
> Assistant Systems/Applications Administrator
> ITS-IS, University of Northern Iowa
> Phone: 319-273-3162 Email: [email protected]
>
> --
> 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