How to resolve java.lang.NoSuchMethodError [duplicate]
问题 This question already has answers here : How do I fix a NoSuchMethodError? (28 answers) Closed last year . I have a project that I can run correctly from within Eclipse, but running the standalone jar gives me the java.lang.NoSuchMethodError for a class at runtime. I unpacked the jar file and can see the class file in one library file in jar and I do see the method defined in the class. The exception is not about class not found, but just can't find the method in the class. Could not find any