繁体   English   中英

SLF4J:无法在 Eclipse 加载 class

[英]SLF4J: Failed to load class at Eclipse

使用win10,Eclipse June 2020 C++ IDE,jdk-13.0.2,IAR插件。 我有一个包含多个子项目的项目,它不使用命令行 (eclipsec.exe) 进行编译。

运行命令

C:\eclipse\eclipsec.exe -nosplash --launcher.suppressErrors -application org.eclipse.cdt.managedbuilder.core.headlessbuild  -no-indexer -data . -import lib1 -import libDsp -build PrjSystem/Debug

结果是没有编译libDsp

日志的 output:

Adding appender for logfile C:\work\.metadata\IAR-plugins.log
Opening 'LibDsp'.
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.
Opening 'Lib1'.
Opening 'Lib2'.
...
Warning: Nashorn engine is planned to be removed from a future JDK release

为什么没有创建 LibDsp?

如何解决这个SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 问题? (pom.xml 的解决方案不起作用,因为它不是 Java IDE)

该项目没有编译,因为一些文件被“锁定”。
锁定文件示例: Error[Ms003]: could not open file "Components\folder\file.o" for writing

删除 Eclipse .metadata文件夹或特定文件.metadata\.plugins\org.eclipse.core.resources\.safetable\org.eclipse.core.resources后,文件被释放。

slf4j与此问题无关。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM