I am getting "During an aborted deployment, some instances may have deployed the new application version" error while deploying my app

cn flag

I am getting Action execution failed Deployment completed, but with errors: During an aborted deployment, some instances may have deployed the new application version. To ensure all instances are running the same version, re-deploy the appropriate application version. Failed to deploy application. Unsuccessful command execution on instance id(s) 'i-0a956bec0b978125a'. Aborting the operation. [Instance: i-0a956bec0b978125a] Command failed on instance. Return code: 1 Output: Engine execution has encountered an error.. Instance deployment failed. For details, see 'eb-engine.log'. error while deploying via code pipeline.

I have no idea why this error occurring. My application is a legacy spring 1.5.9 application built on java 8.

My buildspec.yml:

      java: corretto8
      - java -version
      - mvn clean install
    - target/d_campus.jar

Its about 4 hours.....I am stucked. Please help


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.