运行Spring项目
2023-08-06 本文已影响0人
编程放大镜
在本地如何运行一个Spring项目?
在项目名称右键,Run as,Maven install,报错:
No SLF4J providers were found.
遇到报错不要慌,一步一步解决它。
什么是 SLF4J ?
SLF4J stands for Simple Logging Facade for Java. It provides a simple abstraction of all the logging frameworks. It enables a user to work with any of the logging frameworks such as Log4j, Logback, JUL (java.util.logging), etc. using single dependency.
SLF4J 需要具体的类库来运行。