0
我正在使用Play Framework 2.5與java創建一個依賴於moduleB的moduleA。在我的主應用程序中,我依賴於ModuleA,但我仍然希望使用moduleB中使用的一些註釋和類。當我試圖從ModuleB我的主要應用程序中導入,我得到一個錯誤如下:使用sbt導入依賴項的依賴關係並播放框架
type foo cannot be resolved. It is indirectly referenced from required .class files
我寧願沒有我的主要應用程序需要同時依賴於moduleA和moduleB。這通常如何處理?