Eclipse下新建Workspace(工作空间)后的基本配置

1、 Window—》Preferences -> 搜索workspace -》找到General下的Workspace ,点击进去,左下角的Text file encoding :other  UTF-8

2、  Window—》Preferences -> 搜索 jsp-> JSP Files ->Encoding: ISO 10646/Unicode(UTF-8)

3 、Window—》Preferences -> 搜索 ignored -> 找到Team下的 Ignored Resources -> Add Pattern 添加忽略

4、  Window —> Preferences -> Server->Runtime Environments  —> Tomcat目录位置(可以复制多个Tomcat目录,即存在多个Tomcat实例)

5、  Window —>  Preferences -> 搜索maven —>找到maven下的 Installations —> 
添加本机中的maven安装目录 C:\apache-maven-3.3.9 
修改 C:\apache-maven-3.3.9\conf\settings.xml 中的下面这句,让地址指向maven仓库 
C:\Users\rose\AppData\Roaming\feiq\Recv Files\API\mavenrepository\repository

6、   Window—》Preferences -> maven ->User Settings -> 填写完User Setting后,点击Update Settings,  Local Repository会被自动填充。

7、Window —>show view—>maven Repositories—> Local Repositorys—>Local Repository, 鼠标右键选择 Rebuild index -> 可以看到Maven库中所有的jar包目录。 

这里写图片描述
保存工作空间模版: 
为了避免每次创建工作空间都要重新设置,可以把这个配置好的工作空间作为一个模版,直接复制后就可作为新工作空间使用。 
maven仓库的地址可以单独配置。

maven仓库可解压缩放到工作空间目录下。

这里写图片描述

repository    是解压后的maven仓库。
原文:https://blog.csdn.net/rose20072011_/article/details/78934607 
 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值