On 5/19/06, Josef Wagner <[EMAIL PROTECTED]> wrote:

I have tested changing ClassLoader already. No Success.

This are the ClassLoaders before swapping:

Current Thread ClassLoader:
org.eclipse.core.runtime.internal.adaptor.ContextFinder

getClass().getClassLoader():
org.eclipse.core.runtime.adaptor.EclipseClassLoader

I swap width:
Thread.currentThread().setContextClassLoader(getClass().getClassLoader());

At the end, I get the following Exception:
java.lang.ClassNotFoundException: org.apache.ddlutils.model.Database
at org.apache.commons.betwixt.digester.ClassRule.begin(ClassRule.java:63)

It looks like ddlutils and betwixt are loaded with different
classloaders. You should debug your classloaders, e.g. try to load the
ddlutils and betwixt classes via the ClassLoader#loadClass method.

Tom

Reply via email to