org.springframework.messaging.MessageHandlingException: failed to write Message payload to file

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Gunnar Hillert, 1 year ago
failed to write Message payload to file; nested exception is java.io.FileNotFoundException: target/output/dir/test2.writing (No such file or directory)
via Spring JIRA by Gunnar Hillert, 1 year ago
failed to write Message payload to file; nested exception is java.io.FileNotFoundException: target/output/dir/test2.writing (No such file or directory)
via Stack Overflow by Aliaksandr Mukhareuski
, 2 months ago
failed to write Message payload to file; nested exception is java.lang.IllegalArgumentException: unsupported Message payload type [l.h.site.MyObject], failedMessage=GenericMessage [payload=l.h.site.MyObject@3d06bfbf, headers={contentType=class l.h.site.MyObject, id=e9d37006-d970-f55a-3961-d5f614dc681f, timestamp=1505480518118}]
via GitHub by Panciz
, 1 year ago
failed to write Message payload to file; nested exception is java.io.FileNotFoundException: C:\SIRIO-SA\RecipeTo\localhost_access_log.2016-09-19.txt.writing (Accesso negato)
via GitHub by artembilan
, 1 year ago
failed to write Message payload to file; nested exception is java.io.FileNotFoundException: target\base-directory\foo.txt.writing (Отказано в доступе)
org.springframework.messaging.MessageHandlingException: failed to write Message payload to file
at org.springframework.integration.file.FileWritingMessageHandler.handleRequestMessage(FileWritingMessageHandler.java:309)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.