项目场景: 项目工程编译,没有引用该maven包,但是报错该包找不到。 问题描述 Could not find artifact com.*.*:pom:0.1.6 in nexus (https://nexus.*/nexus/*/*/public/) 这里用*抹去敏感信息 原因分析: java 编译器的问题 ,打开java compiler编译器版本。file->settings->java Compiler 修改module版本 解决方案: 选择java8,再次运行即可。