一个简单的问题:我喜欢这个Ant的外观:
<fileset dir="${lib}">
<patternset refid="myPattern" />
</fileset>
Run Code Online (Sandbox Code Playgroud)
所以我可以使用这个例如从$ {lib}复制一些与myPattern匹配的.jar文件.
如果我真正想要的是查看$ {lib}中的每个.jar并仅选择与myPattern匹配的.class文件,该怎么办?
在我的服务中,我有一个受保护的构造函数@Inject和一个参数(提供者)@Nullable.任何想法,为什么我得到
com.google.inject.CreationException: Guice creation errors: 1) No implementation for [[service]] was bound.
?Guice是3.0pre1,@Nullable是我们的.