Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding new Classes / Undefined Errors



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.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.