[INFO] ---------------------------------------------- --------------- [ERROR] /C:/Users/sumit.garg/workspace_oxy_java9/csp-shared/src/main/java/module-info.java:[9,27 ]找不到模块:log4j.core [ERROR] /C:/Users/sumit.garg/workspace_oxy_java9/csp-shared/src/main/java/module-info.java:[10,26]找不到模块:log4j . API
这是我的 module-info.java . 编译时没有错误 .
module cspSharedModule {
requires log4j.core;
requires log4j.api;
requires java.xml;
requires java.xml.bind;
}
Maven的编译器插件:
org.apache.maven.plugins
maven-compiler-plugin
3.8.0
9
9
true
true