chaosblade-io / chaosblade-box

chaos-platform
216 stars 98 forks source link

Maven not compiling #125

Open filippoSelvatici opened 2 years ago

filippoSelvatici commented 2 years ago

I cloned the repository and tried to follow the steps in the README.txt in the root directory. Though, running the command mvn clean package -Dmaven.test.skip=true failed in compiling the directory chaosblade-box-common because of a missing dependency (javax.annotations.PostConstruct).

Adding

<dependency>
  <groupId>javax.annotation</groupId>
  <artifactId>javax.annotation-api</artifactId>
  <version>1.3.2</version>
</dependency>

to the file chaosblade-box-common/pom.xml fixes the problem.

MandssS commented 2 years ago

Sorry, I don't have this kind of error here. Did you make any changes after you cloned the code?

filippoSelvatici commented 2 years ago

That's weird, I didn't make any change to the code. I am not sure why it happened.