java.lang.IllegalArgumentException: interface org.springframework.messaging.simp.annotation.SendToUser is not visible from class loader

Spring JIRA | Rossen Stoyanchev | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    spring websockets - SendToUser annotation is not visible from class loader

    Stack Overflow | 2 years ago | Dario
    java.lang.IllegalArgumentException: interface org.springframework.messaging.simp.annotation.SendToUser is not visible from class loader
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    SendToUser fails with springframework-version 4.2.0.RELEASE

    GitHub | 2 years ago | darionis
    java.lang.IllegalArgumentException: interface org.springframework.messaging.simp.annotation.SendToUser is not visible from class loader
  4. 0

    Jboss 7.1.1 - HornetQ reconnect errors

    Stack Overflow | 3 years ago | Venu
    java.lang.IllegalArgumentException: interface javax.resource.spi.endpoint.MessageEndpoint is not visible from class loader

    17 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      interface org.springframework.messaging.simp.annotation.SendToUser is not visible from class loader

      at java.lang.reflect.Proxy$ProxyClassFactory.apply()
    2. Java RT
      Proxy.newProxyInstance
      1. java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:616)
      2. java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:592)
      3. java.lang.reflect.WeakCache$Factory.get(WeakCache.java:244)
      4. java.lang.reflect.WeakCache.get(WeakCache.java:141)
      5. java.lang.reflect.Proxy.getProxyClass0(Proxy.java:455)
      6. java.lang.reflect.Proxy.newProxyInstance(Proxy.java:738)
      6 frames
    3. Spring Core
      AnnotationUtils.findAnnotation
      1. org.springframework.core.annotation.AnnotationUtils.synthesizeAnnotation(AnnotationUtils.java:1280)
      2. org.springframework.core.annotation.AnnotationUtils.findAnnotation(AnnotationUtils.java:500)
      3. org.springframework.core.annotation.AnnotationUtils.findAnnotation(AnnotationUtils.java:561)
      3 frames
    4. Spring Messaging
      SendToMethodReturnValueHandler.supportsReturnType
      1. org.springframework.messaging.handler.HandlerMethod.getMethodAnnotation(HandlerMethod.java:214)
      2. org.springframework.messaging.handler.HandlerMethod$HandlerMethodParameter.getMethodAnnotation(HandlerMethod.java:275)
      3. org.springframework.messaging.simp.annotation.support.SendToMethodReturnValueHandler.supportsReturnType(SendToMethodReturnValueHandler.java:136)
      3 frames