java使用resource时,使用try-with-resources代替try-catch-finally

NoSuchKey