javassist give an exception:class not found
-------------------------------------------
Key: JASSIST-26
URL:
http://jira.jboss.com/jira/browse/JASSIST-26
Project: Javassist
Issue Type: Task
Environment: Weblogic 8.1;
Reporter: dong chunguo
Assigned To: Shigeru Chiba
hi,
I use javassist in EJB,but it give me an exception:class not found.
The Code is :
ClassPool pool = ClassPool.getDefault();
pool.insertClassPath(new
ClassClassPath(ClassLoader.getSystemClassLoader().getClass()));
CtClass cc = cp.get("class1");
How can I set the "insertClassPath".What should I do,it'll work?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: