英文:
SLF4J: Failed to load class at Eclipse
问题
Using win10, Eclipse June 2020 C++ IDE, jdk-13.0.2, IAR plugin.
I have a project that contains several sub-projects and it doesn't compile using the command line (eclipsec.exe).
The running command
C:\eclipse\eclipsec.exe -nosplash --launcher.suppressErrors -application org.eclipse.cdt.managedbuilder.core.headlessbuild -no-indexer -data . -import lib1 -import libDsp -build PrjSystem/Debug
The result is that "libDsp" is not compiled.
The log's 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
Why LibDsp isn't created?
How to solve this "SLF4J: Failed to load class 'org.slf4j.impl.StaticLoggerBinder'." issue? (The solution of pom.xml doesn't work because it's not Java IDE)
英文:
Using win10, Eclipse June 2020 C++ IDE, jdk-13.0.2, IAR plugin.
I have a project that contains several sub-projects and it doesn't compile using the command line (eclipsec.exe).
The running command
C:\eclipse\eclipsec.exe -nosplash --launcher.suppressErrors -application org.eclipse.cdt.managedbuilder.core.headlessbuild -no-indexer -data . -import lib1 -import libDsp -build PrjSystem/Debug
The result is that libDsp
is not compiled.
The log's 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
Why LibDsp isn't created?
How to solve this SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
issue? (The solution of pom.xml doesn't work because it's not Java IDE)
答案1
得分: 0
项目没有编译成功,因为其中一些文件被“锁定”。
锁定文件的示例:
Error[Ms003]: 无法打开文件“Components\folder\file.o”以进行写入
在删除 Eclipse 的 .metadata
文件夹或特定文件 .metadata\.plugins\org.eclipse.core.resources\.safetable\org.eclipse.core.resources
之后,这些文件被释放。
slf4j
与此问题无关。
英文:
The project didn't compile because some of the files were "locked".
Example of a locked file:
Error[Ms003]: could not open file "Components\folder\file.o" for writing
After removing Eclipse .metadata
folder or the specific file .metadata\.plugins\org.eclipse.core.resources\.safetable\org.eclipse.core.resources
, the files were freed.
slf4j
is not related to this problem.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论