Java: Spring获取ClassPath路径 1File path=new File(ResourceUtils.getURL(ResourceUtils.CLASSPATH_URL_PREFIX).getPath());