猪油糖小王子的博客创建name.properties文件 2.输入内容 name=XIAOLIANG 3.代码中引用(注意此处文件名前需要加上/ 表示根目录,不然获取不到,is为null) public class Test { public static void main(String[] args) throws ...
深情不及里子的博客关于IDEA搭建mybatis项目中的异常:找不到配置文件java.io.IOException: Could not find resource mybatis-config.xml和空指针 Exception in thread "main" org.apache.ibatis.exceptions.PersistenceException: ...