执行mvn clean install 出错了,要怎么处理?

提问 已结 2 73
zhongxun
zhongxun 2023-01-10
悬赏:20积分
版本:renren-security 5.2.0 开发环境:
执行mvn clean install 出错了,要怎么处理? -------------- renren-security .................................... SUCCESS [ 7.795 s] [INFO] renren-common ...................................... FAILURE [01:48 min] [INFO] renren-dynamic-datasource .......................... SKIPPED [INFO] renren-admin ....................................... SKIPPED [INFO] renren-api ......................................... SKIPPED [INFO] renren-generator ................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:04 min [INFO] Finished at: 2023-01-10T12:02:50+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project renren-common: Compilation failure: Compilation failure: [ERROR] /D:/workspace/Java/RenRen/renren-security-master/renren-common/src/main/java/io/renren/common/xss/XssUtils.java:[12,24] 找不到符号 [ERROR] 符号: 类 Whitelist [ERROR] 位置: 程序包 org.jsoup.safety [ERROR] /D:/workspace/Java/RenRen/renren-security-master/renren-common/src/main/java/io/renren/common/xss/XssUtils.java:[20,31] 找不到符号 [ERROR] 符号: 类 Whitelist [ERROR] /D:/workspace/Java/RenRen/renren-security-master/renren-common/src/main/java/io/renren/common/xss/XssUtils.java:[32,20] 找不到符号 [ERROR] 符号: 类 Whitelist [ERROR] 位置: 类 io.renren.common.xss.XssUtils [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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :renren-common
回帖
本帖已结贴