aaron-ai commented on issue #159:
URL:
https://github.com/apache/rocketmq-clients/issues/159#issuecomment-1225272208
@buzzxu Hi, we forgive to shade annotation-api in rocketmq-client-java.jar
by #177, so you could exclude tomcat's annotation-api and import
`javax.annotation-apis` to solve this issue in next version.
```
<dependencies>
<dependency>
<groupId>org.apache.rocketmq</groupId>
<artifactId>rocketmq-client-java</artifactId>
<version>5.0.1-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>org.apache.tomcat</groupId>
<artifactId>annotations-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>1.3.2</version>
</dependency>
<dependencies>
```
or you could try to build `5.0.1-SNAPSHOT` for testing. Thx for feedback!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]