0

スプリング ガイドの 1 つについて質問があります。

Spring を使用した RESTful Web サービスの設計と実装 ガイドに記載されているすべての手順に従いますが、gradlew を使用してサービスを実行しようとすると、次のエラーが表示されます 。 /チュートリアル/休憩/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"

この問題を解決するにはどうすればよいですか?

4

0 に答える 0