【发布时间】:2013-11-21 02:22:41
【问题描述】:
我想在 glassfish 4 上部署一个 jar,在终端中使用命令 asadmin deploy testapp-1.0-SNAPSHOT.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.
我用maven编译打包jar。
提前致谢。
【问题讨论】:
标签: maven jakarta-ee glassfish