Eclipse使用Server启动tomcat时Caused by: java.lang.NoClassDefFoundError: Lorg/apache/commons/logging/Log;

使用Server启动tomcat项目时报错ClassNotFoundException: org.apache.commons.logging.Log

Eclipse使用Server启动tomcat时Caused by: java.lang.NoClassDefFoundError: Lorg/apache/commons/logging/Log;_第1张图片

解决方法:右击项目properties,找到Deployment Assembly,添加java build path entries,添加Maven Dependencies

Eclipse使用Server启动tomcat时Caused by: java.lang.NoClassDefFoundError: Lorg/apache/commons/logging/Log;_第2张图片

你可能感兴趣的:(java,eclipse,tomcat)