Skip to content
-1day edited this page Dec 3, 2021 · 11 revisions

1. 打包失败情况

ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project jose4j: There are test failures.
[ERROR] 
[ERROR] Please refer to /Users/pro/MyProject/jrasp-opensource-plan/jrasp-agent/jrasp-jose4j/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]

解决方法:由于低版本的jdk8不兼容JWT导致,换一个高版本的jdk8重新build即可

2. attach时出现告警 2021-12-03 08:37:47.047 [jrasp] 开启RASP安全防护,技术支持: https://applink.feishu.cn/client/chat/chatter/add_by_link?link_token=e35l9ee2-a000-45ba-8863-75b5ca2cdbe6 WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.jrasp.core.util.RASPReflectUtils (file:/Users/xxx/Desktop/jrasp-agent/bin/../lib/jrasp-core.jar) to field java.net.URLClassLoader.acc WARNING: Please consider reporting this to the maintainers of com.jrasp.core.util.RASPReflectUtils WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release

jdk9以上版本对于反射有有告警,但不影响当前项目运行

Clone this wiki locally