Can't upgrade CAS 5.0.4 with MYSQL to 5.1.0-RC3

26 views
Skip to first unread message

Nicolas Scaut

unread,
Apr 12, 2017, 4:51:03 AM4/12/17
to CAS Community
Hello

Actually, I use CAS 5.0.4 with tomcat 8 and mysql authentification.
It's work

I want to upgrade CAS to 5.1.0-RC3 with Maeven overlay method.
So I just change the pom.xml as :


 <properties>
        <cas.version>5.1.0-RC3</cas.version>
        <springboot.version>1.4.2.RELEASE</springboot.version>
        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>


Here are the dependecies :


<dependencies>
        <dependency>
            <groupId>org.apereo.cas</groupId>
            <artifactId>cas-server-webapp</artifactId>
            <version>${cas.version}</version>
            <type>war</type>
            <scope>runtime</scope>
        </dependency>
                <dependency>
    <groupId>org.apereo.cas</groupId>
    <artifactId>cas-server-support-jdbc</artifactId>
    <version>${cas.version}</version>
</dependency>
<dependency>
    <groupId>org.apereo.cas</groupId>
    <artifactId>cas-server-support-json-service-registry</artifactId>
    <version>${cas.version}</version>
</dependency>


But I does not work :

Caused by: java.lang.ClassNotFoundException: com.mysql.cj.jdbc.Driver

Can you help me please ?

Thanks
Reply all
Reply to author
Forward
0 new messages