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

gefragt vor 7 Monaten70 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen