解决 maven 项目启动 提示 class not find

第一种方法:

项目 --> .classpath

 

<classpathentry exported="true" kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
  <attributes>
   <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
  </attributes>
 </classpathentry>


第二种方法:

项目--> 属性 -->Deployment Assembly -->

 

posted @ 2015-12-25 10:59  Earic  阅读(310)  评论(0编辑  收藏  举报