await1 Suspend function 'await' should be called only from a coroutine or another suspend function await을 사용 하기 위해선 함수에 suspend가 붙어 있거나 코루틴 내부에서 호출을 진행해야 한다. 하지만 Scheduled로 지정된 함수에 suspend를 붙이게 된다면 아래와 같은 에러 메시지를 보게 된다. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'showTimeScheduler' defined in file [Y:\ThreeMovie\threemovieapi\build\classes\kotlin\main\com\threemovie\threemovieapi\domain\showtime\scheduler\ShowTimeScheduler.class]: Encountered invali.. 2023. 5. 26. 이전 1 다음