Hi,
I was able to get the class using reflection API. But I am facing problems
as soon as I load the class.
The code snippet is as below;
Class vo = class.forName("com.patni.hospitality.vos.PatientVO");
When executed, it gives the following error:
java.lang.VerifyError: (class:
com/patni/application/populator/PatientVOList, method: setPatientNumber
signature: (I)V) Localvariable 1 contains wrong type
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java:134)
If any one could guide me for the same.
Thanks and Regards,
sapan.
-----Original Message-----
From: Sapan Shah [mailto:[EMAIL PROTECTED]
Sent: Monday, March 03, 2003 2:57 PM
To: BCEL Users List
Subject: ClassNotFoundException
After generating the classes, I want to load the classes. However, I am
getting the ClassNotFoundException. I checked the classpaths also and they
are all perfect. Is there anything that I am missing out here. I am using
the default class loader of Sun and wish to use the same only.
If any one could please guide me.
Thanks and Regards,
Sapan.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]