Maven打包失败

[ERROR] /G:/12.Java����/SpringBoot-learning/seckill-demo/src/main/java/com/chenhf/config/UserArgumentResolvers.java:[6,26] �����com.sun.deploy.net������
[INFO] 1 error根据提示自定义的UserArgumentResolvers类中导入了一个没用到的包,但是不了解为什么没用到还会导致maven打包失败呢?继续一下,后续查查。

报错信息

[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building seckill-demo 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ seckill-demo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 45 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ seckill-demo ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 44 source files to G:\12.Java����\SpringBoot-learning\seckill-demo\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
**[ERROR] /G:/12.Java����/SpringBoot-learning/seckill-demo/src/main/java/com/chenhf/config/UserArgumentResolvers.java:[6,26] �����com.sun.deploy.net������**
**[INFO] 1 error**
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.005 s
[INFO] Finished at: 2022-07-06T22:18:43+08:00
[INFO] Final Memory: 29M/330M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project seckill-demo: Compilation failure
[ERROR] /G:/12.Java����/SpringBoot-learning/seckill-demo/src/main/java/com/chenhf/config/UserArgumentResolvers.java:[6,26] �����com.sun.deploy.net������
[ERROR] 
[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
posted @ 2022-07-06 22:22  IWANNPEACE  阅读(118)  评论(0编辑  收藏  举报