[jboss-jira] [JBoss JIRA] Resolved: (JASSIST-26) javassist give an exception:class not found

dong chunguo (JIRA) jira-events at jboss.com
Thu Aug 24 21:40:49 EDT 2006


     [ http://jira.jboss.com/jira/browse/JASSIST-26?page=all ]

dong chunguo resolved JASSIST-26.
---------------------------------

    Resolution: Done

i got mistake. sorry.

> 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