0

我正在尝试使用以下命令行部署将应用程序重新部署到 Weblogic 10.3.6,

 java weblogic.Deployer -adminurl myserver:7001 -user deploymyuser 
-password welcome1 -targets mytarget -name appname -redeploy 
 D:/app/deploy/app.ear -upload -remote

我收到以下错误

<Error> <J2EE Deployment SPI> <BEA-260101> <Parameter 'moduleArchive' 
may not be null.>
[J2EE Deployment SPI:260101]Parameter 'moduleArchive' may not be null.

我该如何解决这个问题?

4

1 回答 1

3

将开关“-source”与重新部署命令一起使用:

java weblogic.Deployer -adminurl myserver:7001 -user deploymyuser -
password welcome1 -targets mytarget -name appname -redeploy 
-source D:/app/deploy/app.ear -upload -remote
于 2013-05-18T06:19:28.720 回答