java.lang.ClassCastException: com.sun.proxy.$Proxy95 cannot be cast to com.netflix.zuul.ZuulFilter

GitHub | szantopeter | 5 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 223#245940760

    GitHub | 5 months ago | szantopeter
    java.lang.ClassCastException: com.sun.proxy.$Proxy95 cannot be cast to com.netflix.zuul.ZuulFilter

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.sun.proxy.$Proxy95 cannot be cast to com.netflix.zuul.ZuulFilter

      at org.springframework.cloud.netflix.zuul.ZuulFilterInitializer.contextInitialized()
    2. org.springframework.cloud
      ZuulFilterInitializer.contextInitialized
      1. org.springframework.cloud.netflix.zuul.ZuulFilterInitializer.contextInitialized(ZuulFilterInitializer.java:58)[spring-cloud-netflix-core-1.1.0.RELEASE.jar:1.1.0.RELEASE]
      1 frame
    3. Glassfish Core
      ContainerBase$StartChild.call
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4809)[tomcat-embed-core-8.0.33.jar:8.0.33]
      2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5251)[tomcat-embed-core-8.0.33.jar:8.0.33]
      3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)[tomcat-embed-core-8.0.33.jar:8.0.33]
      4. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)[tomcat-embed-core-8.0.33.jar:8.0.33]
      5. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)[tomcat-embed-core-8.0.33.jar:8.0.33]
      5 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_66]
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_66]
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_66]
      4. java.lang.Thread.run(Thread.java:745)[na:1.8.0_66]
      4 frames