我在运行ccap时面临问题...声纳异常...没有这样的方法错误。
请查找日志内容。
线程中的异常" main" org.sonar.runner.RunnerException:java.lang.NoSuchMethodError:java / util / Properties.load(Ljava / io / Reader;)V 13:44:02,035 INFO ProgressExecutor:? - at org.sonar.runner.Runner.delegateExecution(Runner.java:288) 13:44:02,035 INFO ProgressExecutor:? - 在org.sonar.runner.Runner.execute(Runner.java:151) 13:44:02,035 INFO ProgressExecutor:? - 在org.sonar.runner.Main.execute(Main.java:84) 13:44:02,035 INFO ProgressExecutor:? - 在org.sonar.runner.Main.main(Main.java:56) 13:44:02,035 INFO ProgressExecutor:? - 引起:java.lang.NoSuchMethodError:java / util / Properties.load(Ljava / io / Reader;)V 13:44:02,035 INFO ProgressExecutor:? - 在com.pmd.rules.custom.HibernateStmtRule.loadSqlInProperties(HibernateStmtRule.java:161) 13:44:02,035 INFO ProgressExecutor:? - 在com.pmd.rules.custom.HibernateStmtRule。(HibernateStmtRule.java:152) 13:44:02,035 INFO ProgressExecutor:? - 在java.lang.Class.newInstanceImpl(Native方法) 13:44:02,035 INFO ProgressExecutor:? - 在java.lang.Class.newInstance(Class.java:1243) 13:44:02,035 INFO ProgressExecutor:? - at net.sourceforge.pmd.RuleSetFactory.parseSingleRuleNode(RuleSetFactory.java:309) 13:44:02,035 INFO ProgressExecutor:? - 在net.sourceforge.pmd.RuleSetFactory.parseRuleNode(RuleSetFactory.java:253) 13:44:02,035 INFO ProgressExecutor:? - 在net.sourceforge.pmd.RuleSetFactory.parseRuleSetNode(RuleSetFactory.java:209) 13:44:02,035 INFO ProgressExecutor:? - 在net.sourceforge.pmd.RuleSetFactory.createRuleSet(RuleSetFactory.java:157) 13:44:02,035 INFO ProgressExecutor:? - 在net.sourceforge.pmd.RuleSetFactory.createRuleSet(RuleSetFactory.java:146) 13:44:02,035 INFO ProgressExecutor:? - 在net.sourceforge.pmd.RuleSetFactory.parseRuleReferenceNode(RuleSetFactory.java:365) 13:44:02,035 INFO ProgressExecutor:? - 在net.sourceforge.pmd.RuleSetFactory.parseRuleNode(RuleSetFactory.java:255) 13:44:02,035 INFO ProgressExecutor:? - 在net.sourceforge.pmd.RuleSetFactory.parseRuleSetNode(RuleSetFactory.java:209) 13:44:02,035 INFO ProgressExecutor:? - 在net.sourceforge.pmd.RuleSetFactory.createRuleSet(RuleSetFactory.java:157) 13:44:02,035 INFO ProgressExecutor:? - 在net.sourceforge.pmd.RuleSetFactory.createRuleSet(RuleSetFactory.java:146) 13:44:02,035 INFO ProgressExecutor:? - at org.sonar.plugins.pmd.PmdExecutor.readRuleSet(PmdExecutor.java:115) 13:44:02,035 INFO ProgressExecutor:? - at org.sonar.plugins.pmd.PmdExecutor.createRulesets(PmdExecutor.java:107) 13:44:02,035 INFO ProgressExecutor:? - at org.sonar.plugins.pmd.PmdExecutor.executeRules(PmdExecutor.java:89) 13:44:02,035 INFO ProgressExecutor:? - at org.sonar.plugins.pmd.PmdExecutor.executePmd(PmdExecutor.java:75) 13:44:02,035 INFO ProgressExecutor:? - at org.sonar.plugins.pmd.PmdExecutor.execute(PmdExecutor.java:61) 13:44:02,035 INFO ProgressExecutor:? - at org.sonar.plugins.pmd.PmdSensor.analyse(PmdSensor.java:52) 13:44:02,035 INFO ProgressExecutor:? - at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:64) 13:44:02,035 INFO ProgressExecutor:? - 在org.sonar.batch.phases.Phases.execute(Phases.java:91) 13:44:02,035 INFO ProgressExecutor:? - 在org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:129) 13:44:02,035 INFO ProgressExecutor:? - 在org.sonar.batch.bootstrap.Module.start(Module.java:68) 13:44:02,035 INFO ProgressExecutor:? - at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:147) 13:44:02,035 INFO ProgressExecutor:? - 在org.sonar.batch.bootstrap.BatchModule.doStart(BatchModule.java:136) 13:44:02,035 INFO ProgressExecutor:? - 在org.sonar.batch.bootstrap.Module.start(Module.java:68) 13:44:02,035 INFO ProgressExecutor:? - 在org.sonar.batch.bootstrap.BootstrapModule.doStart(BootstrapModule.java:83) 13:44:02,035 INFO ProgressExecutor:? - 在org.sonar.batch.bootstrap.Module.start(Module.java:68) 13:44:02,035 INFO ProgressExecutor:? - 在org.sonar.batch.Batch.execute(Batch.java:106) 13:44:02,035 INFO ProgressExecutor:? - 在org.sonar.runner.internal.batch.Launcher.executeBatch(Launcher.java:69) 13:44:02,035 INFO ProgressExecutor:? - 在org.sonar.runner.internal.batch.Launcher.execute(Launcher.java:61) 13:44:02,035 INFO ProgressExecutor:? - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 13:44:02,035 INFO ProgressExecutor:? - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) 13:44:02,035 INFO ProgressExecutor:? - 在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 13:44:02,035 INFO ProgressExecutor:? - 在java.lang.reflect.Method.invoke(Method.java:615) 13:44:02,035 INFO ProgressExecutor:? - at org.sonar.runner.Runner.delegateExecution(Runner.java:285) 13:44:02,051 INFO ProgressExecutor:? - ......还有3个 13:44:02,831 INFO DatabaseController:? - 启动数据库关闭... 13:44:03,080 INFO ProgressExecutor:? - 工作未完成和CANCEl_STATUS。 13:44:03,112 INFO ProgressExecutor:? - CCAPAction分析期间发生异常:发生CCAP分析错误,请参阅ccap日志了解更多详情