[Java] exception in thread "Main" Java. lang. verifyerror: (Class: HKU/CS/lunuo/instrument/counter, method: Report Signature: (ljava/lang/string ;) v) incompatible argument to function
[Java] At org. Apache. jorphan. Test. alltests. <clinit> (alltests. Java)
[Java] cocould not find the main class: org. Apache. jorphan. Test. alltests. program will exit.
[Java] Java result: 1
This problem is very concealed. 1. alltests class cannot be found, but in fact ~
2. The HKU/CS/lunuo/instrument/Counter Report method is incorrect, but in fact there is no problem.
Iii. Finally, we found that the JDOM used by the report method may exist because there may be multiple JDOM. the method calling caused by jar is unclear. looking back at the path settings of the project, another JDOM exists. jar (63 K), and my project's JDOM. jar is 150k. if the original version is different, overwrite the original package and run it again. Everything works normally.