Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

本地编译报错,mvnrepository上的版本又有安全漏洞,怎么办呢? #457

Open
ideaviewes opened this issue Feb 13, 2023 · 0 comments

Comments

@ideaviewes
Copy link

jdk:openjdk version "1.8.0_352"
OpenJDK Runtime Environment (Zulu 8.66.0.15-CA-macos-aarch64) (build 1.8.0_352-b08)
OpenJDK 64-Bit Server VM (Zulu 8.66.0.15-CA-macos-aarch64) (build 25.352-b08, mixed mode)

源码就是git最新的代码
报错如下

[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/zhangjun/project/java/aliyun-oss-java-sdk/src/main/java/com/aliyun/oss/crypto/CryptoModuleBase.java:[528,34] 错误: 未报告的异常错误JSONException; 必须对其进行捕获或声明以便抛出
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.664 s
[INFO] Finished at: 2023-02-13T21:43:05+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project aliyun-sdk-oss: Compilation failure
[ERROR] /Users/zhangjun/project/java/aliyun-oss-java-sdk/src/main/java/com/aliyun/oss/crypto/CryptoModuleBase.java:[528,34] 错误: 未报告的异常错误JSONException; 必须对其进行捕获或声明以便抛出
[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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant