> <dependency> > <groupId>org.slf4j</groupId> > <artifactId>slf4j-api</artifactId> > <version>1.7.5</version>
>> >> Exception in thread "main" java.lang.NoClassDefFoundError: >> >> org/slf4j/LoggerFactory At this point (with the dependency specifically declared in the pom), you have to start questioning everything: 1. are you sure that's the right dependency declaration and version? sometimes projects "move" and start producing new versions under a different groupId. 2. are you sure org.slf4j.LoggerFactory is supposed to be in that jar with that version? 3. go into .m2 and find the slf4j-api-1.7.5.jar file, open it up with a zip tool, confirm it is a real jar (zip) and not HTML error message 4. also confirm it has org.slf4j.LoggerFactory inside 5. consider if you really want the API or an implementation package for runtime use Wayne --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
