오늘의 오류
Name for argument of type [int] not specified, and parameter name information not available via reflection.
Ensure that the compiler uses the '-parameters' flag.
@GetMapping("/{seatId}")
public Seat getSeatBySeatId(@PathVariable int seatId) {
return seatService.getSeatBySeatID(seatId);
}
이 오류가 나서 한 3시간동안 해결방법을 찾았는데 방법은 되게 간단했다...
Settings - Build, Execution, Deployment - Gradle 이렇게 들어가서
저기 보이는 Build and run using 과 Run tests using을 Gradle로 바꿔줬더니 정상적으로 작동했다
이전에는 Intellij로 돼있었음