Correct error handler have wrong class
This commit is contained in:
parent
87a7e6dd79
commit
c2a87dd0aa
@ -2,7 +2,6 @@ package net.Broken.webView;
|
|||||||
|
|
||||||
import net.Broken.MainBot;
|
import net.Broken.MainBot;
|
||||||
import net.dv8tion.jda.core.entities.Guild;
|
import net.dv8tion.jda.core.entities.Guild;
|
||||||
import org.apache.catalina.servlet4preview.http.HttpServletRequest;
|
|
||||||
import org.springframework.boot.autoconfigure.web.ErrorController;
|
import org.springframework.boot.autoconfigure.web.ErrorController;
|
||||||
import org.springframework.http.HttpStatus;
|
import org.springframework.http.HttpStatus;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
@ -11,6 +10,7 @@ import org.springframework.web.bind.annotation.CookieValue;
|
|||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
|
||||||
import javax.servlet.RequestDispatcher;
|
import javax.servlet.RequestDispatcher;
|
||||||
|
import javax.servlet.http.HttpServletRequest;
|
||||||
|
|
||||||
@Controller
|
@Controller
|
||||||
public class MyErrorController implements ErrorController {
|
public class MyErrorController implements ErrorController {
|
||||||
|
Loading…
Reference in New Issue
Block a user