728x90
mapper.xml의 mapper.java -> interface가 빠졌거나 문제 생겨서 그럼.
package com.example.dmf.mapper;
import com.example.dmf.board.dto.BoardDto;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
@Mapper
public interface BoardMapper {
List<BoardDto> selectBoardList() throws Exception;
}
해결
'error' 카테고리의 다른 글
[HTTP ERROR 400] 티스토리 400 에러 (0) | 2022.12.02 |
---|---|
[gradle] org.json.simple cannot be resolved (0) | 2022.12.01 |
[JAVA ERROR] Invalid bound statement (not found): com.example.dmf.weather.service. & [Mybatis setting] (0) | 2022.11.30 |
[IntelliJ] Java file outside of source root 에러 해결법 (0) | 2022.11.24 |
handleException: Ambiguous handler methods mapped for (0) | 2022.10.28 |