> java.lang.IllegalAccessError: tried to access class
> WES.GenericComponents.UploadFile.IImportExportMgr from class
> WES.GenericComponents.UploadFile.UploadManager
Try posting a complete test case that we can compile and run, or
examine the API docs for IllegalAccessError:
http://java.sun.com/j2se/1.5.0/docs/...cessError.html
A rebuild will probably fix this.
Of course, you probably didn't paste the exception output properly, so
you probably want to really look at:
http://java.sun.com/j2se/1.5.0/docs/...Exception.html
Note that reflection is generally used to pretend that Java is a
dynamically-typed language. The only valid use I know is for plugins
that are not known about at the time the application is started.