[jboss-user] [EJB 3.0] - Re: Embedded EJB3 and .scanClasspath()

jc7442 do-not-reply at jboss.com
Fri Sep 29 09:56:09 EDT 2006

getPath() method is in charge to return the classpath as a String. 

When I run testcase under Eclipse or with maven, the classpath is an URLClasspath. I wrote the line :

  | List<URL> urls = getURLs((URLClassLoader) getClass().getClassLoader());

In your case it looks that it is not an URLClassLoader but a DefaultClassLoader. You need to find a way to get the classpath from this classloader. 

I have no idea on how eclipse RCP manages it classloader.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975156#3975156

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975156

More information about the jboss-user mailing list