Eclipse error “Could not find or load main class”

后端 未结 26 1458
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-07 01:31

I know there are many duplicates of this question, but I have looked at them all, and none of them have solved the issue.

I am trying to run a class that has a main

26条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-07 01:57

    I was getting the same message and I solve the problem moving out two dependencies from my pom.xml called "org.slf4j". After that It worked perfectly!

提交回复
热议问题