使用JDeveloper部署应用到Weblogic的时候,出现如下的错误:
[06:03:28 PM] Weblogic Server Exception: weblogic.management.ManagementException: [Deployer:149007]New source location, '/home/shawn/jdeveloper/mywork/SummitADFV1/SummitApp/app/SummitADF_application1.ear', cannot be deployed to configured application, 'SummitADF_application1'. The application source is at '/home/shawn/jdeveloper/mywork/SummitADFV1/SummitApp/deploy/SummitADF_application1.ear'. Changing the source location is not allowed for a previously attempted deployment. Try deploying without specifying the source.
[06:03:28 PM] See server logs or server console for more details.
[06:03:28 PM] weblogic.management.ManagementException: [Deployer:149007]New source location, '/home/shawn/jdeveloper/mywork/SummitADFV1/SummitApp/app/SummitADF_application1.ear', cannot be deployed to configured application, 'SummitADF_application1'. The application source is at '/home/shawn/jdeveloper/mywork/SummitADFV1/SummitApp/deploy/SummitADF_application1.ear'. Changing the source location is not allowed for a previously attempted deployment. Try deploying without specifying the source.
[06:03:28 PM] #### Deployment incomplete. ####
[06:03:28 PM] Remote deployment failed
环境:JDeveoper 11GR1,standalone weblogic
解决方案:Weblgoic中已经存在需要部署的应用,并且部署的应用是通过Weblogic手到执行的。现在需要删除存在的应用,再部署就可以了。