1.提示:java: Annotation processing is not supported for module cycles. Please ensure that all modules from cycle [bpm-point-service-api,bpm-point-service-domain] are excluded from annotation processing
2.上面問題翻譯是:出現(xiàn)了依賴循環(huán)錯誤來自于 [bpm-point-service-api,bpm-point-service-domain] 這兩個文件,所以接下來我們要對這兩個依賴進行分析。
3.進行依賴分析,找到對應(yīng)的文件bpm-point-service-api(這里我們先選擇這個文件),右鍵analyze->analyze module dependencies
4.
一:開始進行分析,首先點擊左上角那個文件的小圖標(biāo)(include test …)我是點擊才變紅,變紅的地方就是發(fā)生循環(huán)的地方。
二:右鍵open module settings
三:remove互相包含的地方,這里是bpm-point-service-api包含了bpm-point-service-domain,所以remove了bpm-point-service-domain,這樣操作(兩邊都要analyze)直到不報紅。
文章來源:http://www.zghlxwxcb.cn/news/detail-713241.html
一定要記得設(shè)置完后apply然后確定。文章來源地址http://www.zghlxwxcb.cn/news/detail-713241.html
到了這里,關(guān)于java: Annotation processing is not supported for module cycles. Please ensure that all modules......的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!