On 10/26/05, Warner Onstine <[EMAIL PROTECTED]> wrote:

> Well, I was hoping that that would do the trick but no dice. I'm still
> getting the error that it cannot create a proxy using my proxy class.

<snip>

> Caused by: java.lang.NoSuchMethodException:
> org.kuali.module.chart.bo.AccountProxy.<init>(java.lang.reflect.InvocationHandler)
>         at java.lang.Class.getConstructor0(Class.java:1937)
>         at java.lang.Class.getDeclaredConstructor(Class.java:1301)
>         at 
> org.apache.ojb.broker.core.proxy.VirtualProxy.createProxy(VirtualProxy.java:116)
>
> I have now implemented the following constructors (and the
> Serializable interface per the unit test):
>     public AccountProxy(){
>         super();
>     }
>
>     public AccountProxy(PBKey key, Identity uniqueId) {
>         super(key, uniqueId);
>     }
>
>     public AccountProxy(IndirectionHandler handler) {
>         super(handler);
>     }
>
> Any other ideas?

Could it be that you have some classpath problem there ? The exception
(and the corresponding source code of VirtualProxy) state that a
constructor with a single argument of IndirectionHandler is searched
for in your class, but could not be found.

Tom

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

Reply via email to