com.thoughtworks.xstream.converters.ConversionException

前端 未结 1 1126
野性不改
野性不改 2021-01-23 15:42

[EDITED]

The project i\'m working on is a 3 folder project in Java J2EE with servlets and Hibernate for the persistance. The structure is as follow: - Admin -> the main

1条回答
  •  孤街浪徒
    2021-01-23 16:28

    In your servlet code you are are mentioning :

    xstream.alias("Terapeuta", Terapeuta.class);
    

    In XML file it is given as:

    
    

    So in logs you are getting error as:

    The exception in logs says:

    com.thoughtworks.xstream.mapper.CannotResolveClassException: satdata.musicoterapia.hibernate.Terapeuta0

    it seems your class namein MXL should be satdata.musicoterapia.hibernate.Terapeuta

    satdata.musicoterapia.hibernate.Terapeuta0
    

    0 讨论(0)
提交回复
热议问题