Eclipse Web项目配置
1.每次重开workspace都要重新配置一次
2.new web project之前配置
3.Windows-Preferences-(所有都要记得Apply)
General
![](https://images2018.cnblogs.com/blog/1337511/201802/1337511-20180226190948110-1324410309.png)
![](https://images2018.cnblogs.com/blog/1337511/201802/1337511-20180226190958034-1459695552.png)
![](https://images2018.cnblogs.com/blog/1337511/201802/1337511-20180226191007588-265328261.png)
![](https://images2018.cnblogs.com/blog/1337511/201802/1337511-20180226191021502-1456656569.png)
P.S.setting.xml的文件应该放在C盘-用户-用户名-.m2文件夹下
Server:Add时,选择v8.0,然后brower地址,记得JRE处也要换jdk为安装的
![](https://images2018.cnblogs.com/blog/1337511/201802/1337511-20180226191034687-2098586440.png)
![](https://images2018.cnblogs.com/blog/1337511/201802/1337511-20180226191044189-835735663.png)
4.new 一个新的project(或者导入)
5.点进去后选择8.0直接finish,不要next
![](https://images2018.cnblogs.com/blog/1337511/201802/1337511-20180226191053986-1340978544.png)
6.
![](https://images2018.cnblogs.com/blog/1337511/201802/1337511-20180226191102340-1835149435.png)
(1)右键,Proportises
![](https://images2018.cnblogs.com/blog/1337511/201802/1337511-20180226191110302-1197869548.png)
(2)双击
![](https://images2018.cnblogs.com/blog/1337511/201802/1337511-20180226191121177-931234576.png)
![](https://images2018.cnblogs.com/blog/1337511/201802/1337511-20180226191128965-1870607314.png)
(此处记得Ctrl S保存)
(3)右键,Add and Remove
![](https://images2018.cnblogs.com/blog/1337511/201802/1337511-20180226191142765-132339792.png)
(4)右键 Publish