문제점
> 원하는 폴더 안에 Package를 생성하고 싶었는데 New > Package가 존재하지 않은 문제였습니다.
해결 방법
> 원하는 폴더를 우클릭 하면 위 사진 처럼 창이 뜨게 됩니다.
> Mark Directory as > Sources Root 를 클릭을 해준다.
> 그리고 다시 한 번 해당 폴더에 New 를 들어가게 되면 Package가 뜨게 됩니다.
참고 사이트
https://whyprogrammer.tistory.com/568
[Kotlin] 인텔리제이(IntelliJ) new package, class 없는 경우 해결
1. 코틀린 New Package, class 사라짐 안보임 해결 인텔리제이(IntelliJ)를 받고 나서 처음 프로젝트를 생성하고 패키지를 생성하는 예시 학습을 하려고 하는데 [New Package]는 보이지 않고, New - Directory 만.
whyprogrammer.tistory.com
'Backend > Solving Problem' 카테고리의 다른 글
[Intellij] ArrayIndexOutOfBoundsException 에러 (0) | 2022.08.22 |
---|---|
[Intellij] Process finished with exit code 0 의미 (0) | 2022.08.22 |
[Intellij] 실행 시 finished with non-zero exit value 1 오류 (0) | 2022.08.22 |
[Intellij] Project 삭제 (0) | 2022.08.21 |