> I proceeded with a new class in org.apache.james.userrepository
>(Similar to the UserFileRepository) , which implements the UserRepository.

> java.lang.ClassCastException
> at
org.apache.james.core.AvalonUsersStore.initialize(AvalonUsersStore.java:170)

> Looks like while AvalonUsersStore is trying to load the repositories,
> it throws a ClassCast Exception at the line :
> UsersRepository rep = (UsersRepository)
theClassLoader.loadClass(repClass).newInstance();

I'm just skimming, but if that is where you believe the problem to be, you
could try displaying the object that you DO get back from newInstance().

        --- Noel


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

Reply via email to