我正在尝试使用以下命令行部署将应用程序重新部署到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.
如何解决此问题?
答案 0 :(得分:3)
将开关“-source”与redeploy命令一起使用:
java weblogic.Deployer -adminurl myserver:7001 -user deploymyuser -
password welcome1 -targets mytarget -name appname -redeploy
-source D:/app/deploy/app.ear -upload -remote