Wie wird die erstellte JAR-Datei auf dem Apache Tomcat-Server in der Eclipse-IDE bereitgestellt?
I'm stuck into the process of deploying created .jar files in Eclipse.
Eclipse ist am Ort:E: \ eclipse
Web Projekt ist bei:E: \ Runtime_Testing \ src \ study_to_night
Tomcat ist am Standort:C: \ apache-tomcat-7.0.54-windows-x64
Meanwhile, steps followed for creating jar files in Eclipse:
1. Right click on your Java Project and select Export.
2. Expand the Java node and select JAR file.
3. In the
JAR-Dateispezifikationsseite, checked the option which says
"Java-Quelldateien und -Ressourcen exportieren"
4. Selected the export destination as:
E: OneForAll.jar; OneForAll
Sein dasname meiner .jar Datei
5. Checked the option
"Inhalt der JAR-Dateien komprimieren"
6. Next ---> Finish.
ei Befolgung der obigen Schritte wird eine ausführbare DateiJAR
-Datei wird am angegebenen Speicherort erstellt. Nur um zu überprüfen, ob alle Dateien in der .jar-Komponente extrahiert wurden, als ich @ wähl"Dateien extrahieren" Option, alle Quelldateien waren nachvollziehbar. Beim Doppelklick wirft es jedochError: Ungültiges oder beschädigtes Jarfile 'E: OneForAll.jar'.
I feel I'm lost.
Gibt es etwas, das ich verpasst habe? What went wrong?
Kann jemand mich durch die Schritte führen, um dies manuell zu tun?