Switch to 5.1.4.
> From: "Toby Archer" <[email protected]>
> To: "CAS Community" <[email protected]>
> Sent: Thursday, September 14, 2017 2:27:43 PM
> Subject: [cas-user] cas-gradle-verlay-template not building suddenly.
> I have a cas setup that I've been using on and off for a few, inter mixed with
> other projects I'm working on. I cam back to it today and it wasn't working. I
> try to start the server and it breaks giving the error:
> 2017-09-14 21:20:30,470 ERROR [org.springframework.boot.SpringApplication] -
> <Application startup failed>
> java.lang.ExceptionInInitializerError: null
> at
> org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.<init>(GroovyBeanDefinitionReader.java:150)
> ~[spring-beans-4.3.11.RELEASE.jar!/:4.3.11.RELEASE]
> at
> org.springframework.boot.BeanDefinitionLoader.<init>(BeanDefinitionLoader.java:84)
> ~[spring-boot-1.5.3.RELEASE.jar!/:1.5.3.RELEASE]
> ...
> Caused by: groovy.lang.GroovyRuntimeException: Conflicting module versions.
> Module [groovy-jsr223 is loaded in version 2.4.11 and you are trying to load
> version 2.4.10
> at
> org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl$DefaultModuleListener.onModule(MetaClassRegistryImpl.java:513)
> ~[groovy-2.4.11.jar!/:2.4.11]
> at
> org.codehaus.groovy.runtime.m12n.ExtensionModuleScanner.scanExtensionModuleFromProperties(ExtensionModuleScanner.java:80)
> ~[groovy-2.4.11.jar!/:2.4.11]
> I fiddled a little and found that if I put my dependencies in my build.gradle
> file like this:
> dependencies {
> compile "org.apereo.cas:cas-server-webapp-tomcat:${project.'cas.version'}@war"
> //compile "org.apereo.cas:cas-server-support-ldap:${project.'cas.version'}"
> //compile
> "org.apereo.cas:cas-server-support-json-service-registry:${project.'cas.version'}"
> //compile
> "org.apereo.cas:cas-server-support-ehcache-ticket-registry:${project.'cas.version'}"
> //compile
> "org.apereo.cas:cas-server-support-jpa-service-registry:${project.'cas.version'}"
> //compile
> "org.apereo.cas:cas-server-support-wsfederation-webflow:${project.'cas.version'}"
> //compile "com.microsoft.sqlserver:mssql-jdbc:6.1.0.jre8"
> compile "cglib:cglib:2.2.2"
> }
> it builds and runs fine. If I uncomment out any of those, it breaks. Any idea
> what the heck is happening? My work here has ground to a halt since I can't
> get
> CAS to start.
> --
> - 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 [email protected] .
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/0193e9ba-5470-499b-8f2a-a5418304e06c%40apereo.org
> .
--
--Misagh
--
- 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 [email protected].
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/454560865.1268754.1505424627074.JavaMail.zimbra%40unicon.net.