[jboss-user] [Beginners Corner] - classpath..!!!
AshuDagr8
do-not-reply at jboss.com
Fri Jul 14 06:31:18 EDT 2006
Hi Forum,
I am using java reflect API to create a instance of a class
Class classDefinition = Class.forName(className);
object = classDefinition.newInstance();
my War File structure
MyApp.war
|
|--/WEB-INF/classes/p/sp/ssp/abc.class
|--/WEB-INF/classes/p/sp/asp/efg.class
i am creating a instance of a class efg in class abc.But during runtime i am promted with the exception "java.lang.ClassNotFoundException" while creating instance.
Any Idea what may be wrong?
Thanks---
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958026#3958026
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958026
More information about the jboss-user
mailing list