java file

    [Error fix] 'Java file outside of source root' 오류 해결

    # 문제 상황 외부의 Spring 프로젝트를 불러와 실행하려는데 application.java가 실행할 수 없는 상태가 되어 있어 빌드는 할 수 있으나 실행할 수 가 없다. # 해결 방안 Open Project Structure. Select Modules in Project Settings in left pane. Click on the folder in which your Java files (showing file outside of source root) are present. Then Select Sources from Mark as: option. Apply the same steps for multiple folders. # 참고 [StackOverFlow]: Java file outside..