try

Thread.currentThread().getContextClassLoader().loadClass()

I think thats it.

hth
dim

----- Original Message -----
From: "Ing. Thomas Margreiter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 13, 2002 4:40 PM
Subject: [JBoss-user] ClassNotFoundException for userdefined Classes with
JBoss 2.4.4 ???


> hi there !
> i tried to load some classes with ClassForName
> when i try to load a Standard Class like JLabel,String etc. everything
> works fine, but when i try to load a userdefined class then i allways
> get the classNotFoundException ... the class is in the deployed JAR !
>
> is there something wrong with the classpath in JBoss 2.4.4 ?
>
> did anybody get the same problem ?
>
>
>
>
> _______________________________________________________________
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to