Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » ClassNotFound exception
ClassNotFound exception [message #1062928] Tue, 11 June 2013 08:49 Go to next message
Eclipse UserFriend
I have two classes in the same package in my plugin: Logon and Connection. The default constructor for Logon creates a new Connection.

protected Connection connection;
public Logon() {
   connection = new Connection();
}


The code compiles fine, however when I run my program and create an instance of Logon, when it tries to create the Connection instance it throws a ClassNotFound exception from the Default Class Loader.

Any ideas why this might be happening? Thanks.
Re: ClassNotFound exception [message #1062967 is a reply to message #1062928] Tue, 11 June 2013 10:38 Go to previous message
Eclipse UserFriend
Nevermind. I figured it out. Some external jars weren't included in the plugin's classpath.
Previous Topic:Progress bar of progress group disappears
Next Topic:NoSuchMethodError
Goto Forum:
  


Current Time: Sat Jun 14 20:52:13 EDT 2025

Powered by FUDForum. Page generated in 0.04369 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top