2017-09-09 34 views
0

我升級了數據流的SDK包的版本,並開始得到以下錯誤:升級數據流的SDK 2.XX從1.9.x的給出編譯錯誤

The project was not built since its build path is incomplete. Cannot find the class file for com.google.cloud.dataflow.sdk.io.FileBasedSink$FileBasedWriteOperation. Fix the build path then try building this project(edited)

我也試過的Maven - >更新項目項,勾選「部隊更新快照/發佈「,這沒有幫助。 如果我降級到舊版本1.9.0錯誤消失

回答

0

我意識到,升級到2.x的還有很多更重大的變動,Release Notes

+0

正確:2.0是第一個API的穩定版本。 2.x和2.y版本之間不會發生重大變化,除了明確標記爲@Experimental的API(但我們也避免打破這些變化)。 – jkff