?
Solved

classnotfoundexception when attempting to debug java project in eclipse

Posted on 2011-04-19
1
Medium Priority
?
633 Views
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$1.run() 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-1.6.0.0.x86_64/bin/java (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:


Screenshot-Edit-Configuration-.png
0
Comment
Question by:opike
1 Comment
 
LVL 47

Accepted Solution

by:
for_yan earned 2000 total points
ID: 35427691

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

http://www.experts-exchange.com/Programming/Languages/Java/J2EE/JSP/Q_26802355.html

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

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Make the most of your online learning experience.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Suggested Courses
Course of the Month17 days, 6 hours left to enroll

864 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