I should add that the only location of the problem Class is in a jar in
my local maven repository and referenced as a project dependency.

>Hi,
>
>Can anyone help with this.
>
>When one of my unit tests run I get a ClassCastExbeption. It shouldn't
>as the instance it is casting is of the correct type. What appears to
>be
>the problem is that the Class the test class is casting to is on a
>different classloader:
>
>ClassLoader for instance: org.apache.tools.ant.AntClassLoader@127461b
>ClassLoader for class to cast to:
>org.apache.tools.ant.AntClassLoader@39da8a
>
>Any ideas? (I've seen similar but not the same problems on the list)
>

Regards,

Sean

-- 
Sean Radford <[EMAIL PROTECTED]>
Aegeus Technology Ltd


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to