Error: org.apache.catalina.core.ApplicationContextFacade. getVirtualServerName

Asked on January 02, 2015
Hi All, In my spring application, I am getting below exception. Need help.

Caused by: java.lang.AbstractMethodError: org.apache.catalina.core.ApplicationContextFacade.getVirtualServerName()Ljava/lang/String;
at org.apache.tomcat.websocket.server.WsServerContainer.<init>(
at org.apache.tomcat.websocket.server.WsSci.init(
at org.apache.tomcat.websocket.server.WsSci.onStartup(
at org.apache.catalina.core.StandardContext.startInternal(
at org.apache.catalina.util.LifecycleBase.start(

Replied on January 03, 2015
I also faced the same error.
My scenario was that I was using spring boot which was also adding embed tomcat boot jar dependency in war.
Those JARs are


When I run my application in tomcat 8, no error but when I run in tomcat 7, got the error as you have mentioned.
To run in tomcat 7, I deleted all the jar from Myapp/WEB-INF/lib
and working fine.

Write Answer

©2023 | Privacy Policy | Contact Us