asadmin deploy testapp-1.0-SNAPSHOT.jar
ターミナルのコマンドを使用して、glassfish 4 に jar をデプロイしたいと考えています。jar の完全なレイアウトは次のとおりです。
/META-INF/MANIFEST.MF
/META-INF/maven/com.test/testapp/pom.properties
/META-INF/maven/com.test/testapp/pom.xml
/com/test/testapp/*.class
しかし、エラーが発生するたびに
remote failure: Archive type of jar was not recognized
Command deploy failed.
jar をコンパイルして maven でパッケージ化します。
前もって感謝します。