[英]Single Sign On with CAS server in JAVA
I am new to java application development. 我是java应用程序开发的新手。 I have to implement Single Sign on with CAS Server. 我必须使用CAS Server实现单点登录。 I downloaded CAS Server and tried to run as steps in this tutorial. 我下载了CAS Server并尝试按照本教程中的步骤运行。
http://vamsichaithanya.blogspot.in/2013/01/cascentral-authentication-service.html http://vamsichaithanya.blogspot.in/2013/01/cascentral-authentication-service.html
But when i use the command mvn package install
, I am getting this error as 但是,当我使用命令mvn package install
,我收到此错误
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install-file (default-cli) on project cas-server-webapp: Error installing artifact 'mysql:mysql-connector-java:jar': Failed to install artifact mysql:mysql-connector-java:jar:5.1.27-bin: /Users/test/Desktop/cas-server-3.5.1/cas-server-webapp (Is a directory) -> [Help 1]
Tests in error: 测试错误:
testAfterPropertiesSet(org.jasig.cas.util.AutowiringSchedulerFactoryBeanTests): Error creating bean with name 'jobDetailTicketRegistryCleaner' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.apache.commons.collections.SetUtils.orderedSet(Ljava/util/Set;)Ljava/util/Set;
testWiring(org.jasig.cas.WiringTests): Error creating bean with name 'serviceRegistryReloaderJobDetail' defined in file [/Users/sriseshaa/Desktop/cas-server-3.5.1/cas-server-webapp/src/main/webapp/WEB-INF/spring-configuration/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.apache.commons.collections.SetUtils.orderedSet(Ljava/util/Set;)Ljava/util/Set;
Please, suggest any good tutorials for this issue or any samples. 请为这个问题或任何样本提出任何好的教程。
Thanks in advance! 提前致谢!
look at the below link, search Create the pom.xml you could see how add cas-server-webapp as a dependency 查看以下链接,搜索创建pom.xml,您可以看到如何将cas-server-webapp添加为依赖项
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.