Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » ClassNotFound exception
ClassNotFound exception [message #1062928] Tue, 11 June 2013 12:49 Go to next message
Greg Mising name is currently offline Greg Mising nameFriend
Messages: 47
Registered: July 2009
Member
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 14:38 Go to previous message
Greg Mising name is currently offline Greg Mising nameFriend
Messages: 47
Registered: July 2009
Member
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: Wed Dec 17 20:06:50 GMT 2014

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

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