Java运行时环境中找不到org.apache.commons.logging.LogFactory
这个类。
在maven中导入依赖即可
<dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.2</version> <!-- 使用你需要的版本 --> </dependency>
- NoClassDefFoundError quot LogFactory Exception commonsnoclassdeffounderror quot logfactory exception noclassdeffounderror quot serverfactory exception exception noclassdeffounderror sqlsessionfactory noclassdeffounderror applicationstartup quot quot exception rabbitmq reason outofmemoryerror quot exception thread messagingexception quot exception connect bindingexception quot exception statement version unsupportedclassversionerror quot exception unsatisfiedlinkerror quot exception thread