Greetings to you all. I am new to CAS with very little experience with Apache Maven and Gradle. I am just joining this group today. I have been trying to setup CAS to query MySQL database for username/password authentication. I managed to install JDK 7, Tomcat 8 and Maven. Tomact is working correctly. I have tried with different versions of CAS to configure dependencies in pom.xml and build but I keep having different challenges. The latest error I got trying to build from version 4.0.x is shown below:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:testCompile (default-testCompile) on project cas-server-webapp: Compilation failure: Compilation failure:[ERROR] error reading /home/cas/.m2/repository/org/jasig/cas/cas-server-webapp-support/4.0.8-SNAPSHOT/cas-server-webapp-support-4.0.8-SNAPSHOT.jar; error in opening zip file[ERROR] error reading /home/cas/.m2/repository/org/jasig/cas/cas-server-support-jdbc/4.0.8-SNAPSHOT/cas-server-support-jdbc-4.0.8-SNAPSHOT.jar; error in opening zip file[ERROR] error reading /home/cas/.m2/repository/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar; error in opening zip file[ERROR] error reading /home/cas/.m2/repository/org/slf4j/slf4j-log4j12/1.7.5/slf4j-log4j12-1.7.5.jar; error in opening zip file[ERROR] error reading /home/cas/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.5/jcl-over-slf4j-1.7.5.jar; error in opening zip file[ERROR] error reading /home/cas/.m2/repository/org/jasig/cas/cas-server-webapp-support/4.0.8-SNAPSHOT/cas-server-webapp-support-4.0.8-SNAPSHOT.jar; error in opening zip file[ERROR] error reading /home/cas/.m2/repository/org/jasig/cas/cas-server-support-jdbc/4.0.8-SNAPSHOT/cas-server-support-jdbc-4.0.8-SNAPSHOT.jar; error in opening zip file[ERROR] error reading /home/cas/.m2/repository/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar; error in opening zip file[ERROR] error reading /home/cas/.m2/repository/org/slf4j/slf4j-log4j12/1.7.5/slf4j-log4j12-1.7.5.jar; error in opening zip file[ERROR] error reading /home/cas/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.5/jcl-over-slf4j-1.7.5.jar; error in opening zip file[ERROR] /opt/cas/cas/cas-server-webapp/src/test/java/org/jasig/cas/WiringTests.java:[27,47] package org.springframework.web.context.support does not exist[ERROR] /opt/cas/cas/cas-server-webapp/src/test/java/org/jasig/cas/WiringTests.java:[37,13] cannot find symbol[ERROR] symbol: class XmlWebApplicationContext[ERROR] location: class org.jasig.cas.WiringTests[ERROR] /opt/cas/cas/cas-server-webapp/src/test/java/org/jasig/cas/WiringTests.java:[41,34] cannot find symbol[ERROR] symbol: class XmlWebApplicationContext[ERROR] location: class org.jasig.cas.WiringTests[ERROR] -> [Help 1][ERROR][ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR][ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException Please I need someone to guide me on the best way to achieve this. What is the best version of CAS to use? Which versions of JDK and Tomcat will work with it? What are the steps to build either with Maven or Gradle? Any help is highly appreciated. Thanks -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- 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 cas-user+unsubscr...@apereo.org. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/ec998ebe-6764-43cc-ae79-38b363b11a2f%40apereo.org.