How to fix this exception "cannot be cast to JAXBElement"
Firstly, I don't know if I'm sending a email into right forum...
I'm doing "Java EE 7 Hands-on with GlassFish 4 Open Source Edition" and on the point 6 "View and Delete Movie", I'm getting this exception:
Caused by: java.lang.ClassCastException: org.glassfish.movieplex7.entities.Movie cannot be cast to javax.xml.bind.JAXBElement
Any suggestion how can I fix this exception?