随记
未读
Java报错解决——idea工作目录导致io无法正确读取相对路径
问题描述 开发环境: idea jdk8 maven 案发经过: 你兴高采烈的写了IO操作,然后使用了相对路径,一运行 Exception in thread "main" java.io.FileNotFoundException: file.txt (系统找不到指定的文件。) 你将文件移来移去,
随记
未读
Idea报错:程序包xxxxx不存在
报错分析 maven依赖问题 引用了如mybatis,需要设置 application.yml ,但是没有设置正确的地址 解决方法 maven依赖问题 百度,有很多,这里举例一个:
随记
未读
maven 编译出错:Fatal error compiling 无效的目标发行版
报错分析 正常大部分都是认为 idea 的编译器版本和 maven 工程没对上,但我这个情况如下: pom.xml <properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.ta