posted 21 years ago
I'm still messing around with packages in Netbeans and now I have this error:
java.lang.NoClassDefFoundError: cfparser (wrong name: com/wallinternet/cfBrowser/cfparser)
at java.lang.ClassLoader.defineClass0(Native Method)
first couple of lines in the file are:
package com.wallinternet.cfBrowser;
import java.util.*;//import util for lists and iterators
import java.io.*;//import io for file class
import java.net.*;//import net for URL class
public class cfparser
{
The file lives in e:\javawork\com\wallinternet\cfBrowser\
My classpath (mounted filesystems) contains:
e:\javawork\com\wallinternet\cfBrowser
e:\javawork
I've run the class successfully from this command line:
E:\javawork\java com.wallinternet.cfBrowser.cfparser
(no classpath set)
Thanks,
Justin