java.lang.IllegalArgumentException

When defining @Publisher on a void-returning method, an explicit payload expression that does not rely upon a #return value is required.

Solutions on the web23338

  • When defining @Publisher on a void-returning method, an explicit payload expression that does not rely upon a #return value is required.
  • When defining @Publisher on a void-returning method, an explicit payload expression that does not rely upon a #return value is required.
  • forum, I've seen a post indicating that "this happens at the client side when a JSON response is a fault". Below is the stack trace, any help is appreciated. java.lang.IllegalArgumentException: The MessageContext does not have an associated SOAPFault.
  • Stack trace

    • java.lang.IllegalArgumentException: When defining @Publisher on a void-returning method, an explicit payload expression that does not rely upon a #return value is required. at org.springframework.util.Assert.isTrue(Assert.java:65)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 9 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    50 more bugmates