Facing issue in proxy build and deployment

Not applicable

Getting below error message while I am trying to deploy proxy bundle using Apigee Maven plugin:

Failed to execute goal io.apigee.build-tools.enterprise4g:apigee-edge-maven-plugin:1.0.1:deploy (deploy-bundle) on project assisted-auth: MojoExecutionException: 500 Server Error [ERROR] { [ERROR] "message" : "org.apache.xerces.dom.ElementNSImpl cannot be cast to com.apigee.messaging.config.beans.TargetConnection", [ERROR] "contexts" : [ ] [ERROR] }

0 2 1,021
2 REPLIES 2

Abhishek_Subram
Participant V

Hi @akshay.anand9

Need more information than this. The maven MojoExecutionException can happen for various reasons.

Please check this stack overflow link - http://stackoverflow.com/questions/23320074/error-while-uploading-file-for-api-in-apigee

Most likely there is an issue in configuration of default proxy or target.

0 0 0

Not applicable

Hi @akshay.anand9,

I faced similar problem when I formatted target endpoint file (on Eclipse installed on Ubuntu machine).

Some extra line characters were included and deployment was failing.

David Allen has provided answer to same issue here - https://community.apigee.com/questions/1306/studying-create-and-manage-apis-while-implementing.html

This might solve the problem you are facing.

1 0 0
Top Labels in this Space
Top Solution Authors