-1
當試圖執行此代碼:的Java錯誤:com.google.common.base.Predicate類文件未找到
Reflections reflections = new Reflections(
new ConfigurationBuilder().setScanners(
new SubTypesScanner(false),
new ResourcesScanner())
.setUrls(ClasspathHelper.forClassLoader(
classLoadersList.toArray(new ClassLoader[0])))
.filterInputsBy(new FilterBuilder()
.include(FilterBuilder.prefix(packageName))));
原來的錯誤:
class file for
com.google.common.base.Predicate
not found.
如何解決它?
它不能解決我的問題。 –