package 경로 추가 (Eclipse)

package 경로 추가 (Eclipse)

Eclipse에서 .java 파일만 추가했는데, 탐색기 속 src/main/java 아래에 잡히지 않아서 불-편했었다.

나는 다음과 같이 해결했다.

1. Project 우클릭 -> Build Path -> Configration Build Path 로 Properties를 연 뒤에

2. Java Build Path 에서 source tab 클릭 후, Add Folder로 추가 파일의 경로 추가.

다시해보니, 다음과 같이 해결할 수도 있다.

1. 추가 파일 우클릭 -> use as a source folder

참고

https://ojava.tistory.com/116

from http://goobgood.tistory.com/60 by ccl(A) rewrite - 2021-12-31 05:02:22