jeongseonwoong / morbus

MIT License
4 stars 2 forks source link

Application run failed 버그 #98

Closed JJW1223 closed 3 months ago

JJW1223 commented 3 months ago

2024-05-22T16:42:18.283+09:00 ERROR 22508 --- [morbus] [ main] o.s.boot.SpringApplication : Application run failed

내용 Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2024-05-22T22:05:31.778+09:00 ERROR 39688 --- [ main] o.s.boot.SpringApplication : Application run failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'morbusController' defined in file [C:\Users\PC\Desktop\morbus\Server\out\production\classes\OpenSourceProject\morbus\controller\MorbusController.class]: Unsatisfied dependency expressed through constructor parameter 1: Error creating bean with name 'diseaseSetting' defined in class path resource [OpenSourceProject/morbus/algorithm/Config.class]: Failed to instantiate [OpenSourceProject.morbus.algorithm.DiseaseSetting]: Factory method 'diseaseSetting' threw exception with message: Error creating bean with name 'diseaseRepository' defined in class path resource [OpenSourceProject/morbus/algorithm/Config.class]: Failed to instantiate [OpenSourceProject.morbus.repository.DiseaseRepository]: Factory method 'diseaseRepository' threw exception with message: class path resource [static/data/DiseaseList.json] cannot be opened because it does not exist

JJW1223 commented 3 months ago

이렇게 나오고 Process finished with exit code 1 이 메세지 뜨면서 서버가 작동을 안합니다

JJW1223 commented 3 months ago

데이터 베이스를 켜줘서 해결했습니다