特牛网址导航

spring-boot 用于开发JavaEE非web程序_springboot非web应用-CSDN博客

网友收藏
文章浏览阅读814次。一直想优雅地再JavaEE程序中方便地使用集成在spring上的工具,以前的方法是用如下的方式硬编码。 private static ApplicationContext applicationContext; static { String path2 = AppUtils.class.getResource("/applicationContext.xml").toString(); String path1 = AppUtils.class.get_springboot非web应用