Recently i have have updated the the object with more additional fields now I am getting this error when saving object:

Exception in thread "main" java.lang.NoSuchMethodError:

For some reason I am unable to save an object for indexing.

Is anyone familiar with this issue?



Without any more information it is difficult to pinpoint the problem, but the root cause is that you most likely have compiled a class against a different version of the class that is missing a method, than the one you are using when running it.

Which build system are you using? Maven? With maven a clean install could help.

If this doesn’t solve issue, would it possible to share with us more information about your build process? Like your pom.xml or gradle file.

If you could share a reproducible code snippet with it that would be perfect!

Thanks and looking forward to your answer!