[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building m-fc-cloud :: Component :: core 1.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for io.springside:springside-utils:jar:5.0.0-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for io.springside:springside-core:jar:5.0.0-SNAPSHOT is missing, no dependency information available
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ m-fc-core ---
[INFO] Deleting D:\eclipse3\workspace\m-cloud-component\core\target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ m-fc-core ---
[INFO] Using 'utf-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ m-fc-core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 36 source files to D:\eclipse3\workspace\m-cloud-component\core\target\classes
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING] /D:/eclipse3/workspace/m-cloud-component/core/src/main/java/cn/citms/core/service/BaseServiceImpl.java: 某些输入文件使用了未经检查或不安全的操作。
[WARNING] /D:/eclipse3/workspace/m-cloud-component/core/src/main/java/cn/citms/core/service/BaseServiceImpl.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
[INFO] 2 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /D:/eclipse3/workspace/m-cloud-component/core/src/main/java/cn/citms/core/repository/CustomerSpecs.java:[104,92] 从内部类中访问本地变量clazz; 需要被声明为最终类型
[ERROR] /D:/eclipse3/workspace/m-cloud-component/core/src/main/java/cn/citms/core/repository/CustomerSpecs.java:[106,125] 从内部类中访问本地变量request; 需要被声明为最终类型
[ERROR] /D:/eclipse3/workspace/m-cloud-component/core/src/main/java/cn/citms/core/repository/CustomerSpecs.java:[108,86] 从内部类中访问本地变量request; 需要被声明为最终类型
[INFO] 3 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.628 s
[INFO] Finished at: 2017-11-24T15:55:05+08:00
[INFO] Final Memory: 24M/329M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project m-fc-core: Compilation failure: Compilation failure:
[ERROR] /D:/eclipse3/workspace/m-cloud-component/core/src/main/java/cn/citms/core/repository/CustomerSpecs.java:[104,92] 从内部类中访问本地变量clazz; 需要被声明为最终类型
[ERROR] /D:/eclipse3/workspace/m-cloud-component/core/src/main/java/cn/citms/core/repository/CustomerSpecs.java:[106,125] 从内部类中访问本地变量request; 需要被声明为最终类型
[ERROR] /D:/eclipse3/workspace/m-cloud-component/core/src/main/java/cn/citms/core/repository/CustomerSpecs.java:[108,86] 从内部类中访问本地变量request; 需要被声明为最终类型
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
maven
最新推荐文章于 2023-03-24 09:50:37 发布