Instead of only change the properties from 5.2.0-RC2 to 5.2.0-RC3-SNAPSHOT, do I still need to do anything? I ask this becasue in the SNAPSHOT version, it seems that I am not reading the jar files <properties> <cas.version>5.2.0-RC3-SNAPSHOT</cas.version> </properties> Whenever I add anythings from src/main/java, and import something from org.apereo.cas, it will said it "cannot find symbol", which does not happen if I use 5.2.0-RC1 / 5.2.0-RC2
Basically what I did was: 1) I download this(https://github.com/apereo/cas-overlay-template/tree/5.2), 2) I clear everything from my ".m2\repository\org\apereo\cas\cas-server-core-api-authentication\5.2.0-RC3-SNAPSHOT" so it is a clean build 3) I edit the pom to 5.2.0-RC3-SNAPSHOT 4) I add back some of my java file in src/main/java 5) I run build package -U (I am using Windows 10 OS) And it still said it cannot find symbol... Do I need to change more stuff in the pom.xml? I also tried to use 5.2.0-RC2-SNAPSHOT to check if SNAPSHOT version will affect my deployment, but "5.2.0-RC2-SNAPSHOT" compile fine. Any help would be appreciated :D Regards, Andy ------------------------------------------------------------------ [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[3,37] cannot find symbol symbol: class AuthenticationEventExecutionPlan location: package org.apereo.cas.authentication [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[4,37] cannot find symbol symbol: class AuthenticationEventExecutionPlanConfigurer location: package org.apereo.cas.authentication [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[5,37] cannot find symbol symbol: class AuthenticationMetaDataPopulator location: package org.apereo.cas.authentication [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[6,47] package org.apereo.cas.authentication.principal does not exist [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[7,47] package org.apereo.cas.authentication.principal does not exist [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[8,36] package org.apereo.cas.configuration does not exist [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[9,31] cannot find symbol symbol: class ServicesManager location: package org.apereo.cas.services [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[10,51] package org.apereo.cas.support.pac4j.authentication does not exist [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[21,65] cannot find symbol symbol: class AuthenticationEventExecutionPlanConfigurer [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[24,13] cannot find symbol symbol: class CasConfigurationProperties location: class net.mycompany.cas.authentication.MycompanyEventExecutionPlanConfiguration [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[33,13] cannot find symbol symbol: class ServicesManager location: class net.mycompany.cas.authentication.MycompanyEventExecutionPlanConfiguration [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[38,13] cannot find symbol symbol: class PrincipalFactory location: class net.mycompany.cas.authentication.MycompanyEventExecutionPlanConfiguration [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyAuthenticationHandler.java:[7,37] cannot find symbol symbol: class HandlerResult location: package org.apereo.cas.authentication [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyAuthenticationHandler.java:[8,37] cannot find symbol symbol: class PreventedException location: package org.apereo.cas.authentication [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyAuthenticationHandler.java:[9,37] cannot find symbol symbol: class UsernamePasswordCredential location: package org.apereo.cas.authentication [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyAuthenticationHandler.java:[10,53] package org.apereo.cas.authentication.handler.support does not exist [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyAuthenticationHandler.java:[11,47] package org.apereo.cas.authentication.principal does not exist [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyAuthenticationHandler.java:[12,31] cannot find symbol symbol: class ServicesManager location: package org.apereo.cas.services [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyAuthenticationHandler.java:[14,52] cannot find symbol symbol: class AbstractUsernamePasswordAuthenticationHandler [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[54,12] cannot find symbol symbol: class AuthenticationMetaDataPopulator location: class net.mycompany.cas.authentication.MycompanyEventExecutionPlanConfiguration [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[60,60] cannot find symbol symbol: class AuthenticationEventExecutionPlan location: class net.mycompany.cas.authentication.MycompanyEventExecutionPlanConfiguration [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyAuthenticationHandler.java:[15,63] cannot find symbol symbol: class ServicesManager location: class net.mycompany.cas.authentication.MycompanyAuthenticationHandler [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyAuthenticationHandler.java:[15,96] cannot find symbol symbol: class PrincipalFactory location: class net.mycompany.cas.authentication.MycompanyAuthenticationHandler [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyAuthenticationHandler.java:[26,70] cannot find symbol symbol: class UsernamePasswordCredential location: class net.mycompany.cas.authentication.MycompanyAuthenticationHandler [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyAuthenticationHandler.java:[26,19] cannot find symbol symbol: class HandlerResult location: class net.mycompany.cas.authentication.MycompanyAuthenticationHandler [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyAuthenticationHandler.java:[26,167] cannot find symbol symbol: class PreventedException location: class net.mycompany.cas.authentication.MycompanyAuthenticationHandler [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[20,32] cannot find symbol symbol: class CasConfigurationProperties [INFO] 27 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:17 min (Wall Clock) [INFO] Finished at: 2017-08-30T10:09:07+08:00 [INFO] Final Memory: 51M/444M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project cas-overlay: Compilation failure: Compilation failure: [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[3,37] cannot find symbol [ERROR] symbol: class AuthenticationEventExecutionPlan [ERROR] location: package org.apereo.cas.authentication [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[4,37] cannot find symbol [ERROR] symbol: class AuthenticationEventExecutionPlanConfigurer [ERROR] location: package org.apereo.cas.authentication [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[5,37] cannot find symbol [ERROR] symbol: class AuthenticationMetaDataPopulator [ERROR] location: package org.apereo.cas.authentication [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[6,47] package org.apereo.cas.authentication.principal does not exist [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[7,47] package org.apereo.cas.authentication.principal does not exist [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[8,36] package org.apereo.cas.configuration does not exist [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[9,31] cannot find symbol [ERROR] symbol: class ServicesManager [ERROR] location: package org.apereo.cas.services [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[10,51] package org.apereo.cas.support.pac4j.authentication does not exist [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[21,65] cannot find symbol [ERROR] symbol: class AuthenticationEventExecutionPlanConfigurer [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[24,13] cannot find symbol [ERROR] symbol: class CasConfigurationProperties [ERROR] location: class net.mycompany.cas.authentication.MycompanyEventExecutionPlanConfiguration [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[33,13] cannot find symbol [ERROR] symbol: class ServicesManager [ERROR] location: class net.mycompany.cas.authentication.MycompanyEventExecutionPlanConfiguration [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[38,13] cannot find symbol [ERROR] symbol: class PrincipalFactory [ERROR] location: class net.mycompany.cas.authentication.MycompanyEventExecutionPlanConfiguration [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyAuthenticationHandler.java:[7,37] cannot find symbol [ERROR] symbol: class HandlerResult [ERROR] location: package org.apereo.cas.authentication [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyAuthenticationHandler.java:[8,37] cannot find symbol [ERROR] symbol: class PreventedException [ERROR] location: package org.apereo.cas.authentication [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyAuthenticationHandler.java:[9,37] cannot find symbol [ERROR] symbol: class UsernamePasswordCredential [ERROR] location: package org.apereo.cas.authentication [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyAuthenticationHandler.java:[10,53] package org.apereo.cas.authentication.handler.support does not exist [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyAuthenticationHandler.java:[11,47] package org.apereo.cas.authentication.principal does not exist [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyAuthenticationHandler.java:[12,31] cannot find symbol [ERROR] symbol: class ServicesManager [ERROR] location: package org.apereo.cas.services [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyAuthenticationHandler.java:[14,52] cannot find symbol [ERROR] symbol: class AbstractUsernamePasswordAuthenticationHandler [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[54,12] cannot find symbol [ERROR] symbol: class AuthenticationMetaDataPopulator [ERROR] location: class net.mycompany.cas.authentication.MycompanyEventExecutionPlanConfiguration [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[60,60] cannot find symbol [ERROR] symbol: class AuthenticationEventExecutionPlan [ERROR] location: class net.mycompany.cas.authentication.MycompanyEventExecutionPlanConfiguration [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyAuthenticationHandler.java:[15,63] cannot find symbol [ERROR] symbol: class ServicesManager [ERROR] location: class net.mycompany.cas.authentication.MycompanyAuthenticationHandler [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyAuthenticationHandler.java:[15,96] cannot find symbol [ERROR] symbol: class PrincipalFactory [ERROR] location: class net.mycompany.cas.authentication.MycompanyAuthenticationHandler [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyAuthenticationHandler.java:[26,70] cannot find symbol [ERROR] symbol: class UsernamePasswordCredential [ERROR] location: class net.mycompany.cas.authentication.MycompanyAuthenticationHandler [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyAuthenticationHandler.java:[26,19] cannot find symbol [ERROR] symbol: class HandlerResult [ERROR] location: class net.mycompany.cas.authentication.MycompanyAuthenticationHandler [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyAuthenticationHandler.java:[26,167] cannot find symbol [ERROR] symbol: class PreventedException [ERROR] location: class net.mycompany.cas.authentication.MycompanyAuthenticationHandler [ERROR] /C:/Users/myuser/Documents/Eclipse-Workspace/cas-overlay-template-5.2/cas-overlay-template-5.2/src/main/java/net/mycompany/cas/authentication/MycompanyEventExecutionPlanConfiguration.java:[20,32] cannot find symbol [ERROR] symbol: class CasConfigurationProperties [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 ----------------------------------------------------------------------- On Tuesday, 29 August 2017 21:52:55 UTC+8, Andy Ng wrote: > > Oh yeah, you are right, I will diagnose it tmr once I am back at my > office, Thanks! > > On Tuesday, 29 August 2017 19:29:14 UTC+8, Misagh Moayyed wrote: >> >> I'd say it's in your best interest to diagnose the problem now. If and >> when you switch to RC3 proper and you realize the same issue is there, you >> will likely need to wait another 3-4 weeks until RC4 and beyond. >> >> On Tuesday, August 29, 2017 at 6:11:50 AM UTC+4:30, Andy Ng wrote: >>> >>> Thanks for the reply, Misagh! >>> >>> Since the release of RC3 is coming, I think I will wait till then and >>> then try upgrading to RC3, and report back whether the problem is solved or >>> not. >>> >>> I don't upgrade now is because now upgrading to RC3-SNAPSHOT I see lots >>> "cannot find symbol" error in my maven and I don't want to & I don't have >>> time to fix them now. >>> >>> For now I will revert back to RC1, as that version have all the >>> essential feature for my project. >>> >>> Thanks again! >>> Andy >>> >>> On Monday, 28 August 2017 18:16:45 UTC+8, Andy Ng wrote: >>>> >>>> Hi all, here's my problem: >>>> _____________________________________ >>>> Background: >>>> Version: CAS 5.2.0-RC2 >>>> Topic: SAML 2.0 >>>> ____________________________________ >>>> Problem: >>>> >>>> >>>> When I tried to upgrade from CAS 5.2.0-RC1 to CAS 5.2.0-RC2 (CAS >>>> 5.2.0-RC1 works completely fine). I have some error with >>>> "scopedTarget.defaultSamlRegisteredServiceCachingMetadataResolver". I >>>> tried >>>> to remove my idp-metadata.xml and tried again, but then CAS 5.2.0-RC2 was >>>> not able to create a new idp-metadata.xml >>>> >>>> I see in the update note that " >>>> https://apereo.github.io/2017/08/04/520rc2-release/#saml2-metadata-expiration" >>>> >>>> there's are update on metadata expiration, but idk what that is to do with >>>> my problem. >>>> >>>> I also see that: >>>> " >>>> https://github.com/apereo/cas/blob/v5.2.0-RC2/support/cas-server-support-saml-idp/src/main/java/org/apereo/cas/support/saml/services/idp/metadata/cache/SamlRegisteredServiceCachingMetadataResolver.java >>>> " >>>> Compare to >>>> " >>>> https://github.com/apereo/cas/blob/v5.2.0-RC1/support/cas-server-support-saml-idp/src/main/java/org/apereo/cas/support/saml/services/idp/metadata/cache/SamlRegisteredServiceCachingMetadataResolver.java >>>> " >>>> >>>> I saw that the ChainingMetadataResolver is changed to MetadataResolver, >>>> and after that I am totally lost... >>>> >>>> Would like to know if you guys can give me some guidance on where I >>>> should look at to fix my problem? >>>> _____________________________________________ >>>> Relavent properties: >>>> cas.authn.samlIdp.entityId=https://${cas.host.name}/idp >>>> cas.authn.samlIdp.scope=${cas.host.name} >>>> >>>> cas.authn.samlIdp.metadata.cacheExpirationMinutes=30 >>>> cas.authn.samlIdp.metadata.failFast=true >>>> >>>> cas.authn.samlIdp.metadata.location=file:///etc/cas/saml >>>> >>>> cas.authn.samlIdp.metadata.privateKeyAlgName=RSA >>>> cas.authn.samlIdp.metadata.requireValidMetadata=true >>>> >>>> >>>> cas.authn.samlIdp.logout.forceSignedLogoutRequests=false >>>> cas.authn.samlIdp.logout.singleLogoutCallbacksDisabled=false >>>> >>>> cas.authn.samlIdp.response.skewAllowance=0 >>>> cas.authn.samlIdp.response.signError=false >>>> cas.authn.samlIdp.response.useAttributeFriendlyName=true >>>> >>>> __________________________________________ >>>> Logs: >>>> >>>> 2017-08-28 17:51:52,006 ERROR >>>> [org.springframework.boot.SpringApplication] - <Application startup failed> >>>> org.springframework.beans.factory.BeanCreationException: Error creating >>>> bean with name >>>> 'scopedTarget.defaultSamlRegisteredServiceCachingMetadataResolver' defined >>>> in class path resource >>>> [org/apereo/cas/config/SamlIdPMetadataConfiguration.class]: Bean >>>> instantiation via factory method failed; nested exception is >>>> org.springframework.beans.BeanInstantiationException: Failed to >>>> instantiate >>>> [org.apereo.cas.support.saml.services.idp.metadata.cache.SamlRegisteredServiceCachingMetadataResolver]: >>>> >>>> Factory method 'defaultSamlRegisteredServiceCachingMetadataResolver' threw >>>> exception; nested exception is java.lang.NoSuchMethodError: >>>> com.github.benmanes.caffeine.cache.Caffeine.expireAfter(Lcom/github/benmanes/caffeine/cache/Expiry;)Lcom/github/benmanes/caffeine/cache/Caffeine; >>>> at >>>> org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599) >>>> >>>> ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] >>>> at >>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1173) >>>> >>>> ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] >>>> at >>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1067) >>>> >>>> ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] >>>> at >>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513) >>>> >>>> ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] >>>> at >>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) >>>> >>>> ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] >>>> at >>>> org.springframework.beans.factory.support.AbstractBeanFactory$2.getObject(AbstractBeanFactory.java:345) >>>> >>>> ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] >>>> at >>>> org.springframework.cloud.context.scope.GenericScope$BeanLifecycleWrapper.getBean(GenericScope.java:359) >>>> >>>> ~[spring-cloud-context-1.2.3.RELEASE.jar:1.2.3.RELEASE] >>>> at >>>> org.springframework.cloud.context.scope.GenericScope.get(GenericScope.java:176) >>>> >>>> ~[spring-cloud-context-1.2.3.RELEASE.jar:1.2.3.RELEASE] >>>> at >>>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:340) >>>> >>>> ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] >>>> at >>>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) >>>> >>>> ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] >>>> at >>>> org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1078) >>>> >>>> ~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE] >>>> at >>>> org.springframework.cloud.context.scope.refresh.RefreshScope.start(RefreshScope.java:121) >>>> >>>> ~[spring-cloud-context-1.2.3.RELEASE.jar:1.2.3.RELEASE] >>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>> ~[?:1.8.0_141] >>>> at >>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) >>>> >>>> ~[?:1.8.0_141] >>>> at >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>>> >>>> ~[?:1.8.0_141] >>>> at java.lang.reflect.Method.invoke(Method.java:498) >>>> ~[?:1.8.0_141] >>>> at >>>> org.springframework.context.event.ApplicationListenerMethodAdapter.doInvoke(ApplicationListenerMethodAdapter.java:256) >>>> >>>> ~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE] >>>> at >>>> org.springframework.context.event.ApplicationListenerMethodAdapter.processEvent(ApplicationListenerMethodAdapter.java:177) >>>> >>>> ~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE] >>>> at >>>> org.springframework.context.event.ApplicationListenerMethodAdapter.onApplicationEvent(ApplicationListenerMethodAdapter.java:140) >>>> >>>> ~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE] >>>> at >>>> org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:167) >>>> >>>> ~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE] >>>> at >>>> org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) >>>> >>>> ~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE] >>>> at >>>> org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393) >>>> >>>> ~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE] >>>> at >>>> org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347) >>>> >>>> ~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE] >>>> at >>>> org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:883) >>>> >>>> ~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE] >>>> at >>>> org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:144) >>>> >>>> ~[spring-boot-1.5.6.RELEASE.jar:1.5.6.RELEASE] >>>> at >>>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546) >>>> >>>> ~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE] >>>> at >>>> org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) >>>> >>>> ~[spring-boot-1.5.6.RELEASE.jar:1.5.6.RELEASE] >>>> at >>>> org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) >>>> >>>> ~[spring-boot-1.5.6.RELEASE.jar:1.5.6.RELEASE] >>>> at >>>> org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) >>>> >>>> ~[spring-boot-1.5.6.RELEASE.jar:1.5.6.RELEASE] >>>> at >>>> org.springframework.boot.SpringApplication.run(SpringApplication.java:303) >>>> ~[spring-boot-1.5.6.RELEASE.jar:1.5.6.RELEASE] >>>> at >>>> org.springframework.boot.web.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:151) >>>> >>>> ~[spring-boot-1.5.6.RELEASE.jar:1.5.6.RELEASE] >>>> at >>>> org.springframework.boot.web.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:131) >>>> >>>> ~[spring-boot-1.5.6.RELEASE.jar:1.5.6.RELEASE] >>>> at >>>> org.springframework.boot.web.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:86) >>>> >>>> ~[spring-boot-1.5.6.RELEASE.jar:1.5.6.RELEASE] >>>> at >>>> org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:169) >>>> >>>> ~[spring-web-4.3.10.RELEASE.jar:4.3.10.RELEASE] >>>> at >>>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5196) >>>> >>>> ~[catalina.jar:8.5.16] >>>> at >>>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) >>>> ~[catalina.jar:8.5.16] >>>> at >>>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752) >>>> >>>> ~[catalina.jar:8.5.16] >>>> at >>>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728) >>>> ~[catalina.jar:8.5.16] >>>> at >>>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) >>>> ~[catalina.jar:8.5.16] >>>> at >>>> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:988) >>>> ~[catalina.jar:8.5.16] >>>> at >>>> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:507) >>>> ~[catalina.jar:8.5.16] >>>> at >>>> org.apache.catalina.startup.HostConfig.check(HostConfig.java:1654) >>>> ~[catalina.jar:8.5.16] >>>> at sun.reflect.GeneratedMethodAccessor1201.invoke(Unknown >>>> Source) ~[?:?] >>>> at >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>>> >>>> ~[?:1.8.0_141] >>>> at java.lang.reflect.Method.invoke(Method.java:498) >>>> ~[?:1.8.0_141] >>>> at >>>> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300) >>>> >>>> ~[tomcat-coyote.jar:8.5.16] >>>> at >>>> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) >>>> >>>> ~[?:1.8.0_141] >>>> at >>>> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) >>>> ~[?:1.8.0_141] >>>> at >>>> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1483) >>>> ~[catalina.jar:8.5.16] >>>> at >>>> org.apache.catalina.manager.HTMLManagerServlet.upload(HTMLManagerServlet.java:279) >>>> >>>> ~[catalina.jar:8.5.16] >>>> at >>>> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:200) >>>> >>>> ~[catalina.jar:8.5.16] >>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:661) >>>> ~[servlet-api.jar:?] >>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) >>>> ~[servlet-api.jar:?] >>>> at >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) >>>> >>>> ~[catalina.jar:8.5.16] >>>> at >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) >>>> >>>> ~[catalina.jar:8.5.16] >>>> at >>>> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136) >>>> >>>> ~[catalina.jar:8.5.16] >>>> at >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) >>>> >>>> ~[catalina.jar:8.5.16] >>>> at >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) >>>> >>>> ~[catalina.jar:8.5.16] >>>> at >>>> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) >>>> ~[tomcat-websocket.jar:8.5.16] >>>> at >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) >>>> >>>> ~[catalina.jar:8.5.16] >>>> at >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) >>>> >>>> ~[catalina.jar:8.5.16] >>>> at >>>> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108) >>>> >>>> ~[catalina.jar:8.5.16] >>>> at >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) >>>> >>>> ~[catalina.jar:8.5.16] >>>> at >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) >>>> >>>> ~[catalina.jar:8.5.16] >>>> at >>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) >>>> >>>> ~[catalina.jar:8.5.16] >>>> at >>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) >>>> >>>> ~[catalina.jar:8.5.16] >>>> at >>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:595) >>>> >>>> ~[catalina.jar:8.5.16] >>>> at >>>> org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:319) >>>> >>>> ~[catalina.jar:8.5.16] >>>> at >>>> org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:88) >>>> ~[catalina.jar:8.5.16] >>>> at >>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) >>>> >>>> ~[catalina.jar:8.5.16] >>>> at >>>> org.apache.catalina.ha.session.JvmRouteBinderValve.invoke(JvmRouteBinderValve.java:193) >>>> >>>> ~[catalina-ha.jar:8.5.16] >>>> at >>>> org.apache.catalina.ha.tcp.ReplicationValve.invoke(ReplicationValve.java:322) >>>> >>>> ~[catalina-ha.jar:8.5.16] >>>> at >>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80) >>>> >>>> ~[catalina.jar:8.5.16] >>>> at >>>> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624) >>>> >>>> ~[catalina.jar:8.5.16] >>>> at >>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) >>>> >>>> ~[catalina.jar:8.5.16] >>>> at >>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) >>>> >>>> ~[catalina.jar:8.5.16] >>>> at >>>> org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799) >>>> ~[tomcat-coyote.jar:8.5.16] >>>> at >>>> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) >>>> >>>> ~[tomcat-coyote.jar:8.5.16] >>>> at >>>> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) >>>> >>>> ~[tomcat-coyote.jar:8.5.16] >>>> at >>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455) >>>> >>>> ~[tomcat-coyote.jar:8.5.16] >>>> at >>>> org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) >>>> >>>> ~[tomcat-coyote.jar:8.5.16] >>>> at >>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) >>>> >>>> [?:1.8.0_141] >>>> at >>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) >>>> >>>> [?:1.8.0_141] >>>> at >>>> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) >>>> >>>> ~[tomcat-util.jar:8.5.16] >>>> at java.lang.Thread.run(Thread.java:748) [?:1.8.0_141] >>>> Caused by: org.springframework.beans.BeanInstantiationException: Failed >>>> to instantiate >>>> [org.apereo.cas.support.saml.services.idp.metadata.cache.SamlRegisteredServiceCachingMetadataResolver]: >>>> >>>> Factory method 'defaultSamlRegisteredServiceCachingMetadataResolver' threw >>>> exception; nested exception is java.lang.NoSuchMethodError: >>>> com.github.benmanes.caffeine.cache.Caffeine.expireAfter(Lcom/github/benmanes/caffeine/cache/Expiry;)Lcom/github/benmanes/caffeine/cache/Caffeine; >>>> at >>>> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189) >>>> >>>> ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] >>>> at >>>> org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588) >>>> >>>> ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] >>>> ... 84 more >>>> Caused by: java.lang.NoSuchMethodError: >>>> com.github.benmanes.caffeine.cache.Caffeine.expireAfter(Lcom/github/benmanes/caffeine/cache/Expiry;)Lcom/github/benmanes/caffeine/cache/Caffeine; >>>> at >>>> org.apereo.cas.support.saml.services.idp.metadata.cache.SamlRegisteredServiceDefaultCachingMetadataResolver.<init>(SamlRegisteredServiceDefaultCachingMetadataResolver.java:32) >>>> >>>> ~[cas-server-support-saml-idp-5.2.0-RC2.jar:5.2.0-RC2] >>>> at >>>> org.apereo.cas.config.SamlIdPMetadataConfiguration.defaultSamlRegisteredServiceCachingMetadataResolver(SamlIdPMetadataConfiguration.java:111) >>>> >>>> ~[cas-server-support-saml-idp-5.2.0-RC2.jar:5.2.0-RC2] >>>> at >>>> org.apereo.cas.config.SamlIdPMetadataConfiguration$$EnhancerBySpringCGLIB$$f9a462f8.CGLIB$defaultSamlRegisteredServiceCachingMetadataResolver$1(<generated>) >>>> >>>> ~[cas-server-support-saml-idp-5.2.0-RC2.jar:5.2.0-RC2] >>>> at >>>> org.apereo.cas.config.SamlIdPMetadataConfiguration$$EnhancerBySpringCGLIB$$f9a462f8$$FastClassBySpringCGLIB$$edf2a8f9.invoke(<generated>) >>>> >>>> ~[cas-server-support-saml-idp-5.2.0-RC2.jar:5.2.0-RC2] >>>> at >>>> org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) >>>> >>>> ~[spring-core-4.3.10.RELEASE.jar:4.3.10.RELEASE] >>>> at >>>> org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:358) >>>> >>>> ~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE] >>>> at >>>> org.apereo.cas.config.SamlIdPMetadataConfiguration$$EnhancerBySpringCGLIB$$f9a462f8.defaultSamlRegisteredServiceCachingMetadataResolver(<generated>) >>>> >>>> ~[cas-server-support-saml-idp-5.2.0-RC2.jar:5.2.0-RC2] >>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>> ~[?:1.8.0_141] >>>> at >>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) >>>> >>>> ~[?:1.8.0_141] >>>> at >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>>> >>>> ~[?:1.8.0_141] >>>> at java.lang.reflect.Method.invoke(Method.java:498) >>>> ~[?:1.8.0_141] >>>> at >>>> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162) >>>> >>>> ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] >>>> at >>>> org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588) >>>> >>>> ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] >>>> >>>> __________________________________________ >>>> >>>> -Andy >>>> >>> -- - 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/c25e5ca5-fda0-4367-99ce-e7ac42db8113%40apereo.org.