ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader(); Thread.currentThread().setContextClassLoader(getWebAppContext().getClassLoader()); Thread.currentThread().setContextClassLoader(oldClassLoader);
    public void configureClassLoader ()    throws Exception    {              super.configureClassLoader();                ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader();        Thread.currentThread().setContextClassLoader(getWebAppContext().getClassLoader());        Thread.currentThread().setContextClassLoader(oldClassLoader);    }