LocalvariablesNamesEnhancer exception in play!
When you're using play 1.2.4 and you have updated your hibernate version, it is possible (in special cases) that you encounter the error " An unexpected error occured caused by exception UnexpectedException: While applying class play.classloading.enhancers.LocalvariablesNamesEnhancer ".
The solution to fix this is simpel, but verry well hidden. When you ftch the new hibernate version. A new version of javassistant is fetched as well. Play can't work with this new version. So th etrick is to overrule the new version and downgrade to the older version as added in play. to do so, you have to add the follwoing line to your required part of conf/dependecies.yml
- javassist -> javassist 3.9.0.GA
(please remember to run play dependencies --sync (including --sync!) ) and play netbeansify of play eclipsify.