ClassCastException fix works only if norm file is in project. If Norm is imported as a dependency we get java.lang.ClassNotFoundException