scala編譯錯誤

項目裏有scala和java代碼,且引用了common project, gradle編譯的時候報錯 cannot find symbol : java

object Common is not a member of package com.example.project.common.test

參考這裏,在build.gradle中添加gradle

jar {
    enabled = true
}

解決問題.ui

相關文章
相關標籤/搜索