无法从STS

时间:2017-02-17 20:07:49

标签: spring rest

我正在使用STS 3.8.3。当我尝试使用Spring Boot App选项运行示例gs-rest-service-initial时,除了以下内容之外,我在控制台中没有得到任何输出:

任何人都可以建议哪里出错:

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v1.5.1.RELEASE)

[2017-02-17 12:54:07.073] - 12600 WARN [main] --- org.hibernate.validator.messageinterpolation.ParameterMessageInterpolator: HV000184: ParameterMessageInterpolator has been chosen, EL interpolation will not be supported
[2017-02-17 12:54:07.195] - 12600 WARN [main] --- org.hibernate.validator.messageinterpolation.ParameterMessageInterpolator: HV000184: ParameterMessageInterpolator has been chosen, EL interpolation will not be supported

1 个答案:

答案 0 :(得分:0)

在类路径中添加slf4j-simple jar。

<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-simple -->
<dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-simple</artifactId>
    <version>1.7.22</version>
</dependency>