java.lang.VerifyError with Hadoop

前端 未结 1 1480
执念已碎
执念已碎 2021-01-19 15:32

I\'m working in a java project using Hadoop and I have a java.lang.VerifyError and I don\'t know how to resolve it. I saw people with the same type of question but without a

相关标签:
1条回答
  • 2021-01-19 15:54

    I solved my problem.

    The imported jar was good, but another version (probably older one) which I had tried earlier, was also in the project folder. When I called the class, it appears that older version of the jar in was used. Also, that jar was before the one I wanted in the class path. I deleted the older jar from the project folder and it worked.

    0 讨论(0)
提交回复
热议问题