美文网首页
运行Spring项目

运行Spring项目

作者: 编程放大镜 | 来源:发表于2023-08-06 17:27 被阅读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 需要具体的类库来运行。

相关文章

网友评论

      本文标题:运行Spring项目

      本文链接:https://www.haomeiwen.com/subject/nxrwpdtx.html