java.lang.ClassNotFoundException: org.springframework.web.util.IntrospectorCleanupListener错误解决方案

出现上面的问题,一般项目是Maven结构的,项目的Maven Dependencies没有添加到项目的编译路径下或者添加的路径不对

解决方案1:

将项目 .classpath  文件中

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

改为:

<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>

解决方案2:选中项目->右键Properties->选择Deployment Assemby->选择Add->选中Java Build Path Entries->Next->选择Maven Dependencies->Finish->Apply->OK
PS:若 Maven Dependencies 已经存在,先选中remove掉,再ADD进去即可

然后重启server即可!

转载(http://blog.csdn.net/wwkms/article/details/53070286)

posted @ 2017-08-20 10:26  jean1  阅读(373)  评论(0编辑  收藏  举报