Skip to content

Commit b1d8bf2

Browse files
committed
Added the serializable implementation to ErrorPage object to avoid Redis related serialization errors
1 parent 060d43d commit b1d8bf2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • util/xcolab-commons/src/main/java/org/xcolab/commons/servlet/flash

util/xcolab-commons/src/main/java/org/xcolab/commons/servlet/flash/ErrorPage.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
import org.xcolab.commons.servlet.flash.impl.FlashMessageStore;
44

55
import java.io.IOException;
6+
import java.io.Serializable;
67

78
import javax.servlet.http.HttpServletRequest;
89
import javax.servlet.http.HttpServletResponse;
910

10-
public class ErrorPage {
11+
public class ErrorPage implements Serializable {
1112

1213
private static final FlashMessageStore MESSAGE_STORE = new FlashMessageStore();
1314
private static final String ERROR_URI = "/error";

0 commit comments

Comments
 (0)