Have a look at scoped loader repositories.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904117#3904117
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904117
---
Th
well no ...
the problem was that a testing jar with same class name was in the higher lib
directory , so the class loader loaded it from there , and indeed the class in
the lib directory was an interface , when i have removed it from the lib
directory it was solved .
BTw is there anyway in jbos
anonymous wrote :
| public class InstantiationException
| extends Exception
|
| Thrown when an application tries to create an instance of a class using the
newInstance method in class Class, but the specified class object cannot be
instantiated because it is an interface or is an abstra
Do you have a simple deployment archive that can reproduce this problem? If so
could you open a JIRA issue and post it?
http://jira.jboss.org/jira/secure/CreateIssue!default.jspa
Thanks,
-Jason
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3901860#3901860