D:\IDEA\repast\common\src\main\java\com\kgc\common\pojo\employee\Employeeinfo.java:3:36 java: 程序包com.alibaba.excel.annotation不存在
时间: 2023-07-07 07:45:40 浏览: 163
这个错误提示是因为在你的代码中引用了`com.alibaba.excel.annotation`这个包,但是你的项目中并没有引入这个包,导致编译时找不到该包,从而报错。
解决这个问题的方法是在你的项目中引入`alibaba easyexcel`这个依赖,可以在你的`pom.xml`文件中添加如下依赖:
```xml
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>easyexcel</artifactId>
<version>2.1.6</version>
</dependency>
```
然后重新编译你的代码即可。
阅读全文
相关推荐

















