Compilation error : Changing Depricated @Data in package "org.eclipse.xtend.lib" to "org.eclipse.xtend.lib.annotations.Data" - Xtend 2.7.2

Compilation error : Changing Depricated @Data in package "org.eclipse.xtend.lib" to "org.eclipse.xtend.lib.annotations.Data" - Xtend 2.7.2

我将 xtext 从 2.6.0 迁移到 2.7.2。迁移后,我们在包 org.eclipse.xtend.lib 中遇到了与 @Data 相关的编译错误。此注释已贬值,它指向 'org.eclipse.xtend.lib.annotations.Data' 中的新注释。但是还是编译不了

下面是相同的轨迹。

Error during annotation processing:
java.lang.NoSuchMethodError:
org.eclipse.xtend.lib.macro.TransformationContext.isThePrimaryGeneratedJavaElement(Lorg/eclipse/xtend/lib/macro/declaration/Element;)Z
org.eclipse.xtend.lib.annotations.DataProcessor$Util.apply(DataProcessor.java:64)
org.eclipse.xtend.lib.annotations.DataProcessor$Util.apply(DataProcessor.java:1)
org.eclipse.xtext.xbase.lib.internal.BooleanFunctionDelegate.apply(BooleanFunctionDelegate.java:40)
com.google.common.collect.Iterators.computeNext(Iterators.java:702)
com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
org.eclipse.xtext.xbase.lib.IterableExtensions.forEach(IterableExtensions.java:398)
org.eclipse.xtend.lib.annotations.DataProcessor.doTransform(DataProcessor.java:97)
org.eclipse.xtend.lib.macro.AbstractClassProcessor.doTransform(AbstractClassProcessor.java:42)

问候 斯里尼瓦斯

org.eclipse.xtend.lib 添加到类路径!