TestProject Forum
Powered by leading experts in the test automation community

java.lang.NoClassDefFoundError: io/testproject/proxy/addon/io/testproject/addon/PressKey

Hello, I got this warning and cannot proceed to next step. The addon I am using is “Android Key Events”. If I don’t use this addon, no warning is found. May I know how to fix it if I really want to use this addon.

I provided details as snapshots, wish they may help. Thanks!!

Hello @dodochengtakeapool
You need to compile the Jar with dependencies.
Since you are using maven, you can have a look at this example:

To make the Jar with dependencies, in the above example with use the descriptor file:

Really reallyyyyyy thankkkkks!! I am bordered by this difficulty for so long.