Adding new Classes / Undefined Errors
Adding new Classes / Undefined Errors
- Subject: Adding new Classes / Undefined Errors
- From: David Stark <email@hidden>
- Date: Thu, 26 Aug 2004 17:35:00 +0200
Hello,
I'm fairly new to developing Java using Xcode - could I ask you about
something that's been irritating me:
I downloaded htmlparser ( http://htmlparser.sourceforge.net/ ) a couple
hours ago and have been trying to install its Java class files ever
since. So basically, I want to be able to use those classes in my
projects. I've put them into /Library/Java, and this does seem to
satisfy Xcode itself to the extent that it compiles. However, upon
compiling, I get the error message: Exception in thread "main"
java.lang.NoClassDefFoundError: org/htmlparser/Parser .
Also, I've noticed an annoying tendency in Xcode that it will often
indicate one or several compile errors, but utterly refuse to tell me
even in which class file they are - the Errors and Warnings category
being empty.
I'd really really appreciate any help you could give me. I'm currently
a tad frustrated with Xcode.
Regards,
David Stark
http://www.zarkonnen.com
Appendix: Here's the Java code producing the above error:
import org.htmlparser.*;
public class HTMLTestThingy {
public static void main (String args[]) {
Parser myParser = new Parser();
}
}
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.