Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-13634

IllegalArgumentException when using AnnotationUtils.findAnnotation

    XMLWordPrintable

    Details

    • Last commented by a User:
      true

      Description

      java.lang.IllegalArgumentException: interface org.springframework.messaging.simp.annotation.SendToUser is not visible from class loader
      	at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:616)
      	at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:592)
      	at java.lang.reflect.WeakCache$Factory.get(WeakCache.java:244)
      	at java.lang.reflect.WeakCache.get(WeakCache.java:141)
      	at java.lang.reflect.Proxy.getProxyClass0(Proxy.java:455)
      	at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:738)
      	at org.springframework.core.annotation.AnnotationUtils.synthesizeAnnotation(AnnotationUtils.java:1280)
      	at org.springframework.core.annotation.AnnotationUtils.findAnnotation(AnnotationUtils.java:500)
      	at org.springframework.core.annotation.AnnotationUtils.findAnnotation(AnnotationUtils.java:561)
      	at org.springframework.messaging.handler.HandlerMethod.getMethodAnnotation(HandlerMethod.java:214)
      	at org.springframework.messaging.handler.HandlerMethod$HandlerMethodParameter.getMethodAnnotation(HandlerMethod.java:275)
      	at org.springframework.messaging.simp.annotation.support.SendToMethodReturnValueHandler.supportsReturnType(SendToMethodReturnValueHandler.java:136)
      
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              juergen.hoeller Juergen Hoeller
              Reporter:
              rstoya05-aop Rossen Stoyanchev
              Last updater:
              Spring Issuemaster
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 18 weeks, 6 days ago