idea mvn package 打包成功, jenkins 自动构建却失败,报 object xx is not a member of package
資深大佬 : muziling 1
代码情况是 工程 A 依赖 jar 包 B,jar 包 B 依赖 jar 包 C 在工程 A 的 pom.xml 里只写了依赖 B,没写依赖 C,但工程 A 的代码里有用到 C 的类
编译打包的时候,IDEA 可以成功, 通过 jenkins 自动构建,却报错 object xx is not a member of package xx 是 jar 包 C 里的类。
这种是 jenkins 上配置有问题,还是其它的?
大佬有話說 (2)