Cannot Deploy CustomWebCenterSpacesWAR in JDeveloper due to a Target Mismatch (Doc ID 1083949.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter - Version: 11.1.1.2.0 to 11.1.1.3.0 - Release: to 11g
Information in this document applies to any platform.

Goal

Trying to deploy  the 'CustomWebCenterSpacesWAR' from the "extend WebCenter Spaces" project, the following error is raised:

BUILD FAILED
C:\ExtendWebCenterSpaces\CustomWebCenterSpacesWAR\build.xml:35: weblogic.management.ManagementException: [Deployer:149119]You cannot specify different targets when deploying a new version '11.1.1@11.1.1.2.26' of application 'custom.webcenter.spaces'. The target(s) specified, '[AdminServer, WLS_Spaces]', is/are different from those of the previous version, '[AdminServer, Another_Target, WLS_Spaces]'.
Total time: 9 seconds


Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms