摘要: // 获取项目运行时, org.example 包在系统中的路径。 String package = "org.example"; // 把包路径里的 . 替换成 / URL url = this.getClass().getClassLoader().getResource("/" + packa 阅读全文
posted @ 2020-12-16 23:13 qianbuhan 阅读(548) 评论(0) 推荐(0)
摘要: <properties> <maven.compiler.source>15</maven.compiler.source> <maven.compiler.target>15</maven.compiler.target> </properties> 如果是spring boot项目可以直接这样配 阅读全文
posted @ 2020-12-16 22:21 qianbuhan 阅读(446) 评论(0) 推荐(0)
摘要: 这是因为两个分支没有取得关系。 在操作命令后面加上--allow-unrelated-histories 比如: git pull origin master --allow-unrelated-histories fatal: refusing to merge unrelated histori 阅读全文
posted @ 2020-12-16 10:18 qianbuhan 阅读(563) 评论(0) 推荐(0)