main class not found

Set-up problems, catch-all first aid

Oliver
Hiho,

I'm trying to ask in here, maybe someone can give me a hint, problem is 
(just on windows):

D:\workspace\wiki-parser>java -jar build\lib\WikiParser.jar
Exception in thread "main" java.lang.NoClassDefFoundError: 
org/wyona/wiki/Wiki2XML


The .jar is created with Maven and the interessting part looks like:

  30   <goal name="wikiparser:jar">
  31     <attainGoal name="wikiparser:compile"/>
  32     <mkdir dir="${lib.dir}"/>
  33     <jar destfile="${lib.dir}/WikiParser.jar" 
basedir="${classes.dir}" update="false">
  34       <manifest>
  35         <attribute name="class-path" value="${classpath.jar}"/>
  36         <attribute name="main-class" value="org.wyona.wiki.Wiki2XML"/>
  37       </manifest>
  38     </jar>
  39   </goal>


If you check the Manifest of the created .jar File the Mainclass is 
correct and also in the correct path/package. It works on Unix, not on 
Windows and I have really no idea what is going wrong, any hints where 
to look at now I'd like.



Thanks,
Oliver                                            
Roedy
see http://mindprod.com/jgloss/caq.html