-
[스프링] http://localhost:9090/controller/member/register url에 계속 controller가 들어갈때 해결방법java/Spring 게시판 만들기 2020. 6. 20. 14:10728x90
컨트롤러 매핑 문제인지 모르겠는데 url에 controller를 포함하지 않으면 컨트롤러가 작동을 안하고
404가 나온다...
server.xml 이상없고
컨트롤러 매핑 이상없으면
톰켓 문제임
저기 톰켓 설정에 modules부분에 /controller로 되어있음!!!!
저걸 / 로 바꿔주면 해결....
728x90'java > Spring 게시판 만들기' 카테고리의 다른 글