Java获取target下的classes路径

Java获取target下的classes路径


在这里插入图片描述

String resourcePath= ResourceUtils.getURL(“classpath:”).getPath()