File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

URLClassLoader.java- Class not found Exception

 
Ayyappan Selvaraj
Ranch Hand
Posts: 63
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Friends, Im trying to run a method in my Junit class "CodesServiceTest.java, but I get the following exception. Im using Eclipse. In other projects of the eclipse, I am not facing such issue. Please suggest what can be done..

 
Silas Christiansen
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you figure out what was wrong? I am having the same issue.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13047
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The most likely cause is that the compiled class file is not where it is supposed to be. That would be the first thing to check.

Since that is a URLClassLoader you can check the URLs it is using to search for classes. Perhaps it is not being handed all the appropriate URLs.

Bill
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic