Spring 无法从STS运行gs rest初始服务
我使用的是STS3.8.3。当我尝试使用Spring Boot App选项运行示例gs rest service initial时,除了以下内容外,我在控制台中没有得到任何输出: 谁能告诉我哪里出了问题:Spring 无法从STS运行gs rest初始服务,spring,rest,Spring,Rest,我使用的是STS3.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://ww
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
在类路径中添加slf4j简单jar
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-simple -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.22</version>
</dependency>
org.slf4j
slf4j简单
1.7.22
谢谢,不仅是slf4j,我还添加了几个不同的罐子。基本上,我试图解决所有的警告,它开始工作:-)请提供一些代码。从Application.java开始,解释什么是STS以及如何包含它。