person-directory-impl and api are 1.7.0 On Wed, Apr 27, 2016 at 3:48 PM, Misagh Moayyed <[email protected]> wrote:
> What is the version of PersonDirectory that you have in CAS? Is it 1.7.1? > Check your lib directory and you should find the relevant JAR. > > > > *From:* [email protected] [mailto:[email protected]] *On Behalf Of *Mike > Richards > *Sent:* Wednesday, April 27, 2016 1:17 PM > *To:* CAS Community <[email protected]> > *Subject:* [cas-user] 4.2 - Attribute Resolution via JDBC > > > > 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 > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/3841fbcd-85f2-4215-99bc-0a79419ec3f8%40apereo.org?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/a/apereo.org/d/optout. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "CAS Community" group. > To unsubscribe from this topic, visit > https://groups.google.com/a/apereo.org/d/topic/cas-user/LjF9OqC-HAw/unsubscribe > . > To unsubscribe from this group and all its topics, 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/028501d1a0d6%24eb2ac7f0%24c18057d0%24%40unicon.net > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/028501d1a0d6%24eb2ac7f0%24c18057d0%24%40unicon.net?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/a/apereo.org/d/optout. > -- 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/CABjAZKCW_W9-Ahczh84-s7NK1FuxSX%3Dw2SvtGwbW0zdXKs0vfQ%40mail.gmail.com. For more options, visit https://groups.google.com/a/apereo.org/d/optout.
