2016-11-15 90 views

回答

5

在Central上,您可以使用fc:标签来搜索完全限定的类名,例如org.springframework.web.client.RestTemplate。搜索结果显示它有两个工件,spring-android-rest-templatespring-web。这表明spring-web确实是包含该类的工件。 (我相信将它包含在一个构件中的原因是RestTemplate依赖于Web构件提供的大量注释和类似的类,如果您认为有很多理由将它们分开,Spring 5的开发努力正在进行中,并且您可以在Spring JIRA上打开一张票以将它们分开。)