执行时出错 sonar:sonar goal on maven project
尝试使用sonar-maven-plugin版本2.7.1和5.0
错误:
Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.7.1:sonar (default-cli) on project XXX:
Execution default-cli of goal org.codehaus.mojo:sonar-maven-plugin:2.7.1:sonar failed: Unable to load the mojo 'sonar'
in the plugin 'org.codehaus.mojo:sonar-maven-plugin:2.7.1'.
A required class is missing: Lorg/apache/maven/rtinfo/RuntimeInformation;
Run Code Online (Sandbox Code Playgroud) 当访问方法指令a.doAnother(account.getId);使用visitMethodInsn()时ASM.我需要从方法参数获取帐户account.getId()类型,帐户类型是Account.但是我得到的返回类型account.getId()是long.如何获得Account此处的帐户类型?