[jboss-dev-forums] [Javassist development Forum] - Loading all the hierarchical context on a toClass invocation
mphuget
do-not-reply at jboss.com
Wed Mar 21 06:34:38 EDT 2007
Hello everybody,
I use javassist to create on the fly classes, for instance, I create a class Entity, and then a class Agent extending Entity. No problem to create them but when I try to do a toClass to create a new instance of Agent, an exception occurs because the class Entity is undefined (NoClassDefFoundError exception) whereas the class Entity is in the ClassPool.
Do you know how to fix this problem? Thanks in advance
mp.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030173#4030173
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030173
More information about the jboss-dev-forums
mailing list