Java에서 속성 파일 읽기 속성 파일을 읽으려는 다음 코드가 있습니다. Properties prop = new Properties(); ClassLoader loader = Thread.currentThread().getContextClassLoader(); InputStream stream = loader.getResourceAsStream("myProp.properties"); prop.load(stream); 마지막 줄에서 예외가 발생합니다. 구체적으로 특별히: Exception in thread "main" java.lang.NullPointerException at java.util.Properties$LineReader.readLine(Properties.java:418) at java.ut..