Hello, please use gradlew, for example `./gradlew jar` `./gradlew idea`, or you 
can use the gradle plugin of IDEA. 
The `@ nowarn` warn seems to be related to different version of scala and jdk 
which you can just ignore.

> On Feb 18, 2021, at 16:38, 韩可 <han...@cvicse.com <mailto:han...@cvicse.com>> 
> wrote:
> 
> Hello!
> 
> Recently, we need to build a compilation and development environment for 
> Kafka 2.7.0 source code. Now the source code can run successfully. However, 
> when we execute "gradle install" or "gradle build", we will report an error: 
> @ nowarn annotation does not suppress any warnings. The details are as 
> follows:
> 
> 
> 
> If you delete the @ nowarn annotation according to the location of the error, 
> you will still report other errors, so please find out if there is a good 
> solution, and hope to get your reply. Thank you!
> 
> The gradle version used is 6.6
> The scala version used is 2.13.4
> 

Reply via email to