From c2a87dd0aa3e3bf5daff7583354c2868a349fd5e Mon Sep 17 00:00:00 2001 From: Sebastien Date: Tue, 4 Dec 2018 20:56:21 +0200 Subject: [PATCH] Correct error handler have wrong class --- src/main/java/net/Broken/webView/MyErrorController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/Broken/webView/MyErrorController.java b/src/main/java/net/Broken/webView/MyErrorController.java index 1b323ff..5f76858 100644 --- a/src/main/java/net/Broken/webView/MyErrorController.java +++ b/src/main/java/net/Broken/webView/MyErrorController.java @@ -2,7 +2,6 @@ package net.Broken.webView; import net.Broken.MainBot; import net.dv8tion.jda.core.entities.Guild; -import org.apache.catalina.servlet4preview.http.HttpServletRequest; import org.springframework.boot.autoconfigure.web.ErrorController; import org.springframework.http.HttpStatus; import org.springframework.stereotype.Controller; @@ -11,6 +10,7 @@ import org.springframework.web.bind.annotation.CookieValue; import org.springframework.web.bind.annotation.RequestMapping; import javax.servlet.RequestDispatcher; +import javax.servlet.http.HttpServletRequest; @Controller public class MyErrorController implements ErrorController {