Eclipse报java.lang.ClassNotFoundException: org.springframework.web.filter.CharacterEncodingFilter错误

转载于http://blog.sina.com.cn/s/blog_8ced01900101ba3f.html

1.       Add maven dependencies  

Right click the web project “properties” -------> click the “Deployment Assembly” ---->

Click add button

 Eclipse报java.lang.ClassNotFoundException: org.springframework.web.filter.CharacterEncodingFilter错误

 

Choose Java Build Path Entires ---> click Next


 Eclipse报java.lang.ClassNotFoundException: org.springframework.web.filter.CharacterEncodingFilter错误


 

Choose Maven Dependencies------>  Finish

 Eclipse报java.lang.ClassNotFoundException: org.springframework.web.filter.CharacterEncodingFilter错误


 

2.       Add project dependencies

  Click add button

 Eclipse报java.lang.ClassNotFoundException: org.springframework.web.filter.CharacterEncodingFilter错误






Choose Project-----> Click Next button

 Eclipse报java.lang.ClassNotFoundException: org.springframework.web.filter.CharacterEncodingFilter错误

Choose your dependencies project -----> Click Finish button

 Eclipse报java.lang.ClassNotFoundException: org.springframework.web.filter.CharacterEncodingFilter错误