Hello

Since CAS 6.3.7.2, adding the dependency cas-server-support-sms-twilio 
still brings log4j-api 2.14.0 and log4j-core 2.14.0 into the app libs.

When I deploy my cas.war into an external Tomcat 9.0.43, through IntelliJ 
IDEA, cas can't start with error

        Caused by: java.lang.NoSuchMethodError: 
org.apache.logging.log4j.spi.LoggerContextFactory.isClassLoaderDependent()Z
                at 
org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:56)
                at 
org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:48)
Artifact Cas:war exploded: Error during artifact deployment. See server log 
for details.
                at 
org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:33)
                at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:354)
                at 
org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155)
                at 
org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:132)
                at 
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:655)
                at 
org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:94)
                at 
org.apereo.cas.web.CasWebApplicationServletInitializer.onStartup(CasWebApplicationServletInitializer.java:24)
                at 
org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:172)
                at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5166)
                at 
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)

-- 
- 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/37eae8f0-dfad-4e37-b338-86ba05b65fb6n%40apereo.org.

Reply via email to