Hibernate exception _$$_javassist_0 cannot be cast to javassist.util.proxy.Proxy

hibernate 4.3.7 using javasssist new version and oracle weblogic older than that version for solve this problem will add this configuration to weblogic.xml<wls:container-descriptor>        <wls:prefer-application-packages>            <wls:package-name>javassist</wls:package-name>        </wls:prefer-application-packages>    </wls:container-descriptor>

@Autowired and static method

@Componentpublic class Boo {    private static Foo foo;    @Autowired    public Boo(Foo foo) {        Boo.foo = foo;    }    public static void randomMethod() {         foo.doStuff();    }}@Componentpublic class Boo {    private static Foo foo;    @Autowired    private Foo tFoo;    @PostConstruct    public void init() {        Boo.foo = tFoo;    }    public static void randomMethod() {         foo.doStuff();   ... [Read More]

YAML

  YAML is a superset of JSON, and as such is a very convenient format for specifying hierarchical configuration data   traditional