我对其中一个弹簧指南有疑问:
使用 Spring 设计和实现 RESTful Web 服务 我按照指南中描述的所有步骤进行操作,但是当我尝试使用 gradlew 执行服务时收到以下错误,正如它在: http ://spring.io/guides 中所提到的那样/教程/休息/3/
"C:\REST-Spring\workspace3\tut-rest-6-complete>gradlew tomcatRunWar
The ConfigurationContainer.add() method has been deprecated and is scheduled to be removed in Gradle 2.0. Please use the
create() method instead.
The TaskContainer.add() method has been deprecated and is scheduled to be removed in Gradle 2.0. Please use the create()
method instead.
:compileJava UP-TO-DATE
rocessResources UP-TO-DATE
:classes UP-TO-DATE
:war UP-TO-DATE
:tomcatRunWar
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/Users/i827490/.gradle/wrapper/dists/gradle-1.6-bin/72srdo3a5eb3bic159kar72vok/grad
le-1.6/lib/logback-classic-1.0.9.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/REST-Spring/workspace3/tut-rest-6-complete/build/tmp/tomcatRunWar/work/Tomcat/loca
lhost/_/WEB-INF/lib/slf4j-jdk14-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.JDK14LoggerFactory]
Started Tomcat Server
The Server is running at localhost
***No mapping found for HTTP request with URI [/] in DispatcherServlet with name 'webservice'***
> Building > :tomcatRunWar"
我该如何解决这个问题?