java.lang.NoSuchMethodError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

    • java.lang.NoSuchMethodError: Item.jdoGetManagedFieldCount()" The problem I think it is caused by the reference to the "MyDir parent" in the superclass (seeing the stacktrace). When changing this to "Item parent", enhancing works, but this is semantically less correct. BTW, I also tried enhancing both Item and MyDir multiple times (as suggested in Kodo manual page 69) but this doesnt work. Does anyone have a solution for this problem? thnx in advance, Christiaan Stacktrace: Exception in thread "main" java.lang.NoSuchMethodError: Item.jdoGetManagedFieldCount()I at MyDir.<clinit>(MyDir.java) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:217) at com.solarmetric.kodo.meta.ClassMetaData.newInstance(ClassMetaData.java:289) at com.solarmetric.kodo.meta.ClassMetaData.getInstance(ClassMetaData.java:262) at com.solarmetric.kodo.meta.ClassMetaData.resolvePersistentFields(ClassMetaData.java:509) at com.solarmetric.kodo.meta.ClassMetaData.finish(ClassMetaData.java:392) at com.solarmetric.kodo.meta.ClassMetaData.newInstance(ClassMetaData.java:334) at com.solarmetric.kodo.meta.ClassMetaData.getInstance(ClassMetaData.java:233) at com.solarmetric.kodo.enhance.JDOEnhancer.<init>(JDOEnhancer.java:258) at com.solarmetric.kodo.enhance.JDOEnhancer.enhance(JDOEnhancer.java:220) at com.solarmetric.kodo.enhance.JDOEnhancer.enhance(JDOEnhancer.java:167) at com.solarmetric.kodo.enhance.JDOEnhancer.main(JDOEnhancer.java:131)
    No Bugmate found.