When Wisdom hot-reload a bundle containing models, an error arise :
java.lang.ClassCastException: io.gruul.server.mainframe.model.Message_$$_jvstc0c_3 cannot be cast to javassist.util.proxy.Proxy
I've to cut wisdom:run and relaunch it.
On hot-reload, the OrientDBCrudProvider detect new models :
[INFO] o.w.o.r.OrientDbCrudProvider {monitor-application} - OrientDB Database configuration found for /io/gruul/server/mainframe/model : {user=admin, url=remote:localhost/gruul, package=io.gruul.server.mainframe.model, name=dev}
Imo it leads to a double declaration of the model class in the proxy, thus the class cast exception.
When Wisdom hot-reload a bundle containing models, an error arise :
java.lang.ClassCastException: io.gruul.server.mainframe.model.Message_$$_jvstc0c_3 cannot be cast to javassist.util.proxy.ProxyI've to cut wisdom:run and relaunch it.
On hot-reload, the OrientDBCrudProvider detect new models :
[INFO] o.w.o.r.OrientDbCrudProvider {monitor-application} - OrientDB Database configuration found for /io/gruul/server/mainframe/model : {user=admin, url=remote:localhost/gruul, package=io.gruul.server.mainframe.model, name=dev}Imo it leads to a double declaration of the model class in the proxy, thus the class cast exception.