项目的Application运行时,提示:
java.lang.IllegalStateException: Logback configuration error detected:
ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Failed to create parent directories for。。。
经查阅资料后发现是logback.xml文件中的文件路径设置错误,在本机上找不到相应位置的文件夹,所以无法生成日志文件而报错。
将所有文件位置参数改为本机设置的文件夹位置即可完美解决。