Incompatible argument to function

Source: Internet
Author: User

[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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.