foldright/auto-pipeline

Can not find ConfigSourceHandler

zhangbingxiao opened this issue · 5 comments

image

image

why?

@zhangbingxiao
do you enable the IDE annotation process? like below:

image

image

打开后还是不行,不知道为什么,我看ConfigSourceHandler这个类并没有在项目中存在,为什么能够实现它呢?

@zhangbingxiao ConfigSourceHandler 是通过 annotation processor 生成的,因此是可以编译通过的,应该是第一次打开 IDE 时出现的问题。

是第一次打开 auto-pipeline 这个工程然后找不到这些类的吗?你能描述一下你是如何出现这个问题的吗?我看看本地如何复现

@zhangbingxiao 我想我已经复现出来了。 原因很可能是第一次打开 auto-pipeline 工程时,还没有生成的类文件,解法比较明确:先执行 mvn clean install, 再用 IDE 打开工程。我已经复现并且也已经解决了,你看看能否解决?

@zhangbingxiao 现在已经可以直接安装下面的插件,帮助解决这个问题了: https://plugins.jetbrains.com/plugin/20535-auto-pipeline