messaging.config.beans.TargetServerDoesNotExist

Hi,

While creating an API using maven command. I get following error in build file:

"cause" : { "code" : "messaging.config.beans.TargetServerDoesNotExist", "message" : "Target server target1 does not exist in environment test", "contexts" : [ ] }

Scenario:

1. Creating an API with target server named as target1, target2.

2. I have added target server detail in targetServers.json file.

My Observation:

As the target server details needs to be added in Environment before adding in proxy and deploying in any environment. However while deploying using maven command, proxy is getting created and deployed before creation of the target server in the environment.Due to this reason I guess I am getting the above error.

0 0 485
0 REPLIES 0