In this axon sample http://www.axonframework.org/samples/ ,I deploy it in my tomcat,but I can’t find the “Contact” folder in “temp” folder,and when I run this app,add edit or delete address,there always pop up error message:
“java.lang.RuntimeException : java.util.concurrent.ExecutionException: com.thoughtworks.xstream.converters.ConversionException: Cannot construct org.axonframework.sample.app.api.Address as it does not have a no-args constructor : Cannot construct org.axonframework.sample.app.api.Address as it does not have a no-args constructor
---- Debugging information ----
message : Cannot construct org.axonframework.sample.app.api.Address as it does not have a no-args constructor
cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
cause-message : Cannot construct org.axonframework.sample.app.api.Address as it does not have a no-args constructor
class : org.axonframework.sample.app.api.AddressAddedEvent
required-type : org.axonframework.sample.app.api.Address
path : /org.axonframework.sample.app.api.AddressAddedEvent/address
line number : 1
-------------------------------”
So ,who can help me?thanks!