[jboss-jira] [JBoss JIRA] Created: (JASSIST-26) javassist give an exception:class not found
dong chunguo (JIRA)
jira-events at jboss.com
Mon Aug 21 03:15:11 EDT 2006
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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list