import org.springframework.core.io.ClassPathResource;
import org.springframework.core.io.Resource;
some.properties 位于classes 下
Resource res = new ClassPathResource("some.properties");
System.out.println("res:"+res.getURI());
import org.springframework.core.io.ClassPathResource;
import org.springframework.core.io.Resource;
some.properties 位于classes 下
Resource res = new ClassPathResource("some.properties");
System.out.println("res:"+res.getURI());