net.sf.dozer.util.mapping.MappingException

java.lang.NoSuchMethodException: net.sf.dozer.util.mapping.vo.collections.UserGroup.<init>()

Samebug tips1

I downgraded to spark-notebook scala 2.10 with hadoop 2.6.0 then it worked. Finally switched to Apache Drill, works like a charm for diverse datasets.


Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web5

  • java.lang.NoSuchMethodException: net.sf.dozer.util.mapping.vo.collections.UserGroup.<init>()
  • java.lang.NoSuchMethodException: <init>
  • via dozer by jamesclinton
    , 1 year ago
    java.lang.NoSuchMethodException: com.xxx.domain.Role.<init>()
  • Stack trace

    • net.sf.dozer.util.mapping.MappingException: java.lang.NoSuchMethodException: net.sf.dozer.util.mapping.vo.collections.UserGroup.<init>() at net.sf.dozer.util.mapping.util.MappingUtils.throwMappingException(MappingUtils.java:91) at net.sf.dozer.util.mapping.util.DestBeanCreator.newInstance(DestBeanCreator.java:142) at net.sf.dozer.util.mapping.util.DestBeanCreator.create(DestBeanCreator.java:85) at net.sf.dozer.util.mapping.MappingProcessor.mapCustomObject(MappingProcessor.java:445) at net.sf.dozer.util.mapping.MappingProcessor.mapOrRecurseObject(MappingProcessor.java:414) at net.sf.dozer.util.mapping.MappingProcessor.mapFromFieldMap(MappingProcessor.java:309) at net.sf.dozer.util.mapping.MappingProcessor.mapField(MappingProcessor.java:255) at net.sf.dozer.util.mapping.MappingProcessor.map(MappingProcessor.java:224) at net.sf.dozer.util.mapping.MappingProcessor.mapCustomObject(MappingProcessor.java:451) at net.sf.dozer.util.mapping.MappingProcessor.mapOrRecurseObject(MappingProcessor.java:414) at net.sf.dozer.util.mapping.MappingProcessor.addOrUpdateToList(MappingProcessor.java:741) at net.sf.dozer.util.mapping.MappingProcessor.addOrUpdateToList(MappingProcessor.java:774) at net.sf.dozer.util.mapping.MappingProcessor.mapListToList(MappingProcessor.java:643) at net.sf.dozer.util.mapping.MappingProcessor.mapCollection(MappingProcessor.java:516) at net.sf.dozer.util.mapping.MappingProcessor.mapOrRecurseObject(MappingProcessor.java:405) at net.sf.dozer.util.mapping.MappingProcessor.mapFromFieldMap(MappingProcessor.java:309) at net.sf.dozer.util.mapping.MappingProcessor.mapField(MappingProcessor.java:255) at net.sf.dozer.util.mapping.MappingProcessor.map(MappingProcessor.java:224) at net.sf.dozer.util.mapping.MappingProcessor.map(MappingProcessor.java:136) at net.sf.dozer.util.mapping.MappingProcessor.map(MappingProcessor.java:110) at net.sf.dozer.util.mapping.DozerBeanMapper.map(DozerBeanMapper.java:94) at net.sf.dozer.util.mapping.collections.TestCumulativeCollectionMapping.testMappingConcrete(TestCumulativeCollectionMapping.java:89) Caused by: java.lang.NoSuchMethodException: net.sf.dozer.util.mapping.vo.collections.UserGroup.<init>() at java.lang.Class.getConstructor0(Class.java:2647) at java.lang.Class.getDeclaredConstructor(Class.java:1953) at net.sf.dozer.util.mapping.util.DestBeanCreator.newInstance(DestBeanCreator.java:138) ... 22 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    3 times, 6 days ago
    Once, 3 weeks ago
    Once, 4 weeks ago
    2 times, 1 month ago
    Once, 2 months ago
    113 more bugmates