- 背景
- maven项目
- 在jenkins上跑单元测试
- mvn test --file pom.xml
- 之前一直正常,今天突然编译失败
- 另一台测试环境今天编译部署正常(mvn install)。
-
报错
本来拍了图片,奈何公司远程办公,所有页面全加了水印,具体描述如下:
[info] — maven-resource-plugin:2.6:resource (default-resources) @ (一个模块) —
[info] Using ‘UTF-8’ encoding to copy filtered resources.
[info] skip non existing resourceDirectory **************(该模块下的源码路径,经对比该路径下确实没有东西,甚至该路径对应的文件夹都没有)
[info]
[info] —maven-compile-plugin:3.1:compile(default-compile) @ (一个模块) —
[info] Toolchain in compile-plugin:JDK[D:\DEV\ibm]
[info] Changes detected -ecompiling the module!
[info] Compiling 10 source file to ******** [上面源码路径对应的编译目标路径]
[info] ---------------------------
[ERROR] compilation error:
[info] ---------------------------
[ERROR] javac: 无源文件
用法: javac <