classnotfoundexception when attempting to debug java project in eclipse

Posted on 2011-04-19
Last Modified: 2012-05-11
I have a java project in eclipse that I exported and then re-imported. I'm able to build it without any errors and I verified that the .class files get generated on the file system. But when I try to debug it, I get a classnotfound exception:

New_configuration (1) [Java Application]	
	pikefin.PopulateSpreadsheet at localhost:39823	
		Thread [main] (Suspended (exception ClassNotFoundException))	
			URLClassLoader$ line: 217	
			AccessController.doPrivileged(PrivilegedExceptionAction<T>, AccessControlContext) line: not available [native method]	
			Launcher$AppClassLoader(URLClassLoader).findClass(String) line: 205	
			Launcher$AppClassLoader(ClassLoader).loadClass(String, boolean) line: 319	
			Launcher$AppClassLoader.loadClass(String, boolean) line: 294	
			Launcher$AppClassLoader(ClassLoader).loadClass(String) line: 264	
			Launcher$AppClassLoader(ClassLoader).loadClassInternal(String) line: 332	
			AltRegistry.<init>(AltRegistry) line: 118	
			AltRegistry.<init>() line: 100	
			Service.<clinit>() line: 555	
			PopulateSpreadsheet.<init>(String) line: 87	
			PopulateSpreadsheet.main(String[]) line: 243	
	/usr/lib/jvm/java-1.6.0-openjdk- (Apr 19, 2011 12:24:17 PM)

Open in new window

I verfied that the folder with the class files is in the run/debug configuration classpath:

Question by:opike
    1 Comment
    LVL 47

    Accepted Solution


    Please, lok at this, it seems related in a sense that it also uses pikefin/essbase

    I guess you need additional jar to resolve this pikefin.PopulateSpreadsheet class

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    Suggested Solutions

    Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
    Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
    Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
    This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now