Originally posted by Lasse Koskela:
That NoClassDefFoundError is due to
<attribute name="Main-Class" value="classes/${project-main-class}"/>
which should be
<attribute name="Main-Class" value="${project-main-class}"/>
HI, Lasse, thanks for your response. But it still doesn't work.
The main class , ddd.java , doesn't belong to any package. It is plain. Its class file, ddd.class, just is placed into classes directory.
The question is, I should tell the compiler: "classes\ddd" or just "ddd" ? I guess should be the former one.
But it doesn't work.