Cant compile test

7 views
Skip to first unread message

Michael MacEachran

unread,
Dec 23, 2018, 9:39:34 PM12/23/18
to cas-...@apereo.org
I am upgrading my cas 4 to 5,  I used the basic overlay example in git. and I had a custom AuthenticationHandler that extended AbstractJdbcUsernamePasswordAuthenticationHandler  I noticed the artifactId's have changed.  So I added this to my POM

        <dependency>
             <groupId>org.apereo.cas</groupId>
             <artifactId>cas-server-support-jdbc-authentication</artifactId>
             <version>${cas.version}</version>
        </dependency>

When I try and import via Eclipse,  I get this import statement:

import org.apereo.cas.adaptors.jdbc.AbstractJdbcUsernamePasswordAuthenticationHandler;

But I still get an error: org.apereo.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler cannot be resolved. It is indirectly referenced from required .class files

But that is a different package.  So I am wondering what I did wrong?  I assume I am missing a basic concept here.

Michael MacEachran
Reply all
Reply to author
Forward
0 new messages