下载的代码里缺少实际引入的包,无法正常编译
#3850
-
下载的代码里面没有org.apache.iotdb.service这个包,import org.apache.iotdb.service.rpc.*的文件导入失败,本地查找确实没有这些文件,该如何解决 |
Beta Was this translation helpful? Give feedback.
Answered by
HTHou
Aug 27, 2021
Replies: 1 comment 1 reply
-
***注意:"thrift/target/generated-sources/thrift", "thrift-sync/target/generated-sources/thrift","thrift/target/generated-sources/thrift" 和 "antlr/target/generated-sources/antlr4" 目录需要添加到源代码根中,以免在 IDE 中产生编译错误。 IDEA的操作方法:在上述maven命令编译好后,右键项目名称,选择"Maven->Reload project",即可。*** |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
qiaojialin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/apache/iotdb/blob/master/README_ZH.md#%E5%85%B3%E4%BA%8E%E5%87%86%E5%A4%87thrift%E7%BC%96%E8%AF%91%E5%99%A8
***注意:"thrift/target/generated-sources/thrift", "thrift-sync/target/generated-sources/thrift","thrift/target/generated-sources/thrift" 和 "antlr/target/generated-sources/antlr4" 目录需要添加到源代码根中,以免在 IDE 中产生编译错误。
IDEA的操作方法:在上述maven命令编译好后,右键项目名称,选择"Maven->Reload project",即可。***