Could you please write how you doing this. And what is the exact error.
bootstrap class loader
|
mscorlib
|
System
|
(other assemblies)
|
extension class loader
|
application class loader
Each class loader must always ask its parent to load a particular class first, so when a type is defined in mscorlib there can never be another type with that same name, even if it would be loaded by a different class loader. J2EE application servers get around this problem by violating the class loader rules (not calling the parent class loader first),
Please Mark Post that helped you as answer, also include a summary of what solved the problem as it helps others in similar situations