Hello!

Is there a way to get around the full match / repeat path when serializing an object? For example:

client side

com.example.myProjectOne.model.MyClass 

on the server side -

 com.example.notMyProject.entity.MyClass 

I get -

java.lang.ClassNotFoundException: com.example.myProjectOne.model.MyClass

with complete matching of package names, everything works ...

  • 2
    serialize to json or another format - Artem Konovalov
  • @Artem Konovalov and I would, but not allowed ... you have to create a library of objects for the client and server, which in turn causes inconvenience - andy
  • one
    and duplicate code on the client and the server convenient? and if the composition of the fields go? - Nofate ♦

0