Package dependency error while building my java webapp on AWS CodeBuild.

0

Hi Team, I have a simple java API webapp. When i'm trying to build my webapp using CodeBuild, it's generating a "package org.springframework.web.bind.annotation does not exist" error. But in my local machine its getting build successfully and i have also tried it manually on EC2 linux instance by installing maven and then running the commands, it got successfully built.

Below is my buildspec.yml file pic : Enter image description here

My pom.xml file : Enter image description here

The error that I'm getting : Enter image description here

asked 6 months ago67 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions