2016-04-08 9 views
1

WindowsのEclipse Lunaを使用してJavaアプリケーションを作成しました。 それはプロジェクトです。 runnable jar fileExtract required libraries into generated JARオプションでエクスポートしました。エラー:無効なまたは壊れたjarfile

そして、Linuxサーバ(EC2 Amazon Linux)上でjava8 openjdk java8 -jar chatserver.jarを介してコピーして実行しました。

ただし、コンソール出力だけでエラーが発生します。ここで

Error: Invalid or corrupt jarfile chatserver.jar

は私menifest.mfある

Manifest-Version: 1.0 
Class-Path: . 
Main-Class: {serviceDomain}.chat.ChatServer 

Name: org/aspectj/lang/ 
Implementation-Title: org.aspectj.tools 
Implementation-Version: 1.8.2 
Bundle-Name: AspectJ Runtime 
Bundle-Version: 1.8.2 
Specification-Vendor: aspectj.org 
Specification-Title: AspectJ Runtime Classes 
Bundle-Copyright: (C) Copyright 1999-2001 Xerox Corporation, 2002 Palo 
    Alto Research Center, Incorporated (PARC), 2003-2009 Contributors. 
    All Rights Reserved. 
Specification-Version: 1.8 
Implementation-Vendor: aspectj.org 

にはどうすれば正しくjavaアプリケーションをエクスポートすることができ、あるいは簡単に私のapplictionを展開しますか?

答えて

関連する問題