When launching the Guestbook tutorial for the second time (after a server restart)
I get a ClassCastException:
java.lang.ClassCastException: guest.Guest cannot be cast to guest.Guest
The first time (when the db is created) persisting and retrieving works fine.
Using the explorer on the db file shows the objects I persisted.
I followed the exact steps as described in the tutorial. Did I miss something?
- Java 1.7.0_03
- ObjectDB 2.4.5_06
- GlassFish Server Open Source Edition 3.1.2.2