I'm attempting to configure attribute resolution for a database-centric 
person directory.

Following the documentation for 4.2 
<http://jasig.github.io/cas/4.2.x/integration/Attribute-Resolution.html> 
I've done the following

   - Add the commons-collections4 apache dependency to pom.xml
   - Add the "Sample Usage" code for JDBC
      - dataSource bean is already defined
      - I've updated the resultAttributeMapping to match my underscore-less 
      DB schema
   
On startup I get the following error: java.lang.NoClassDefFoundError: 
org/springframework/jdbc/core/simple/ParameterizedRowMapper


Looking at the spring framework source 
<https://github.com/spring-projects/spring-framework/tree/v4.1.9.RELEASE/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple>
 
it seems that this class was dropped in 4.2 which seems concerning as jasig 
4.2 seems to rely heavily on spring 4.2


Nevertheless, I added an explicit dependency for sping-jdbc per mvn 
repository 
<http://mvnrepository.com/artifact/org.springframework/spring-jdbc/4.1.9.RELEASE>.
 
On restart I then got a new error: NoSuchMethodError: 
org.springframework.core.annotation.AnnotationAttributes.getAliasedString


It ... looks like AnnotationAttributes.getAliasedString was added in 4.2


Can anyone advise as to next steps towards resolving this? Is this an "open 
a bug report and try jasig 4.1 until it gets resolved" sort of situation?


Thank you much,


Mike

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/3841fbcd-85f2-4215-99bc-0a79419ec3f8%40apereo.org.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Reply via email to