Open slice-arjunh opened 11 months ago
Should be better with IntelliJ IDEA 2023.3
Still occurs in 2023.3.2...
Workaround: C:\Users\USERNAME\AppData\Roaming\JetBrains\IntelliJIdea2023.2\plugins\spotbugs-idea\lib delete: slf4j-api-1.7.25.jar
Sorry, I do not know the file paths for linux / mac. if anyone is developing under these systems -> please help us out here :)
Workaround: C:\Users\USERNAME\AppData\Roaming\JetBrains\IntelliJIdea2023.2\plugins\spotbugs-idea\lib delete: slf4j-api-1.7.25.jar
Sorry, I do not know the file paths for linux / mac. if anyone is developing under these systems -> please help us out here :)
thanks , @mwesnigk solution works for me . ^_^
mac plugins dir is '/Users/XXX/Library/Application Support/JetBrains/IdeaIC2023.1/plugins/spotbugs-idea/lib'
Solution for mac (replace XXX as you user name):
cd /Users/XXX/Library/Application Support/JetBrains/IdeaIC2023.1/plugins/spotbugs-idea/lib
mv slf4j-api-1.7.25.jar slf4j-api-1.7.25.jar.bat
Workaround: C:\Users\USERNAME\AppData\Roaming\JetBrains\IntelliJIdea2023.2\plugins\spotbugs-idea\lib delete: slf4j-api-1.7.25.jar
Sorry, I do not know the file paths for linux / mac. if anyone is developing under these systems -> please help us out here :)
that's useful!
Workaround: C:\Users\USERNAME\AppData\Roaming\JetBrains\IntelliJIdea2023.2\plugins\spotbugs-idea\lib delete: slf4j-api-1.7.25.jar
Sorry, I do not know the file paths for linux / mac. if anyone is developing under these systems -> please help us out here :)
really good! it works a lot
Error
: java.lang.LinkageError: loader constraint violation: when resolving method 'org.slf4j.ILoggerFactory org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()' the class loader com.intellij.ide.plugins.cl.PluginClassLoader @55634173 of the current class, org/slf4j/LoggerFactory, and the class loader com.intellij.util.lang.PathClassLoader @5f150435 for the method's defining class, org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type org/slf4j/ILoggerFactory used in the signature (org.slf4j.LoggerFactory is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @55634173, parent loader 'bootstrap'; org.slf4j.impl.StaticLoggerBinder is in unnamed module of loader com.intellij.util.lang.PathClassLoader @5f150435) at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:418) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:357) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:383) at edu.umd.cs.findbugs.Project.Spotbugs version: 1.2.7 IntelliJ version : IntelliJ IDEA 2023.2.5 (Ultimate Edition)