Also bei meinem projekt habe ich diverse externe Libarys eingebund.
In dem Ecipse Classpath sind die aber vorhanden. Oder gibts da noch einen anderen?
dann gehe ich auch -> export -> jar file ->auswählen des packege und der classpath datei -> manifest datei einstellen ( main classe rein) -> und dann gibts einen fehler :
die manifest datei siehst so aus
ich denke hier liegt auch irgendwo der wurm
Exception in Thread main java.lang.NoClassfeFoundError: com/meterware/httpunit/webform
in der ide funktionier das aber alles ohne probleme.
Weiß nicht wie ich das geht, ist aber recht wichtig[/code]
In dem Ecipse Classpath sind die aber vorhanden. Oder gibts da noch einen anderen?
Code:
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path=""/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="C:/java/httpunit-1.6.2/jars/js.jar"/>
<classpathentry kind="lib" path="C:/java/httpunit-1.6.2/jars/junit.jar">
<attributes>
<attribute value="file:/C:/java/httpunit-1.6.2/lib/" name="javadoc_location"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="C:/java/httpunit-1.6.2/jars/nekohtml.jar"/>
<classpathentry kind="lib" path="C:/java/httpunit-1.6.2/jars/servlet.jar"/>
<classpathentry kind="lib" path="C:/java/httpunit-1.6.2/jars/Tidy.jar"/>
<classpathentry kind="lib" path="C:/java/httpunit-1.6.2/jars/xercesImpl.jar"/>
<classpathentry kind="lib" path="C:/java/httpunit-1.6.2/jars/xmlParserAPIs.jar"/>
<classpathentry kind="lib" path="C:/java/httpunit-1.6.2/lib/httpunit.jar"/>
<classpathentry kind="lib" path="C:/java/jericho-html-2.2/lib/jericho-html-2.2.jar"/>
<classpathentry sourcepath="C:/java/mysql-connector-java-5.0.3/src/doc/sources" kind="lib" path="C:/java/mysql-connector-java-5.0.3/mysql-connector-java-5.0.3-bin.jar"/>
<classpathentry kind="lib" path="C:/java/commons-lang-2.1/commons-lang-2.1.jar"/>
<classpathentry kind="output" path=""/>
</classpath>
dann gehe ich auch -> export -> jar file ->auswählen des packege und der classpath datei -> manifest datei einstellen ( main classe rein) -> und dann gibts einen fehler :
die manifest datei siehst so aus
Code:
Manifest-Version: 1.0
Main-Class: lokalisten.Start_lokalisten
Exception in Thread main java.lang.NoClassfeFoundError: com/meterware/httpunit/webform
in der ide funktionier das aber alles ohne probleme.
Weiß nicht wie ich das geht, ist aber recht wichtig[/code]