毕业几个月了,开始在公司写代码,上班后写代码最大的区别就是没有以前随心所欲了,连一个开发工具都需要用规定的,我们公司用的是eclipse搭配STS,今天记录一下在eclipse中配置STS的情况。

       首先,查看eclipse的版本号。

 此处的版本号为4.8.0,不必管小版本号,记为4.8就行了。

然后在任务栏,Install New Software > add

在Name中输入Spring(名字随意写),Location中输入http://dist.springsource.com/release/TOOLS/update/e4.8/

注意4.8这个地方,随自己的版本号修改,只需两位,不可以三位。最后

按照需要下载吧,全选也没有问题。这样等着基本就完成了

要是有一下错误

An error occurred while collecting items to be installed session context was:(profile=D__DevelopTools_eclipse_jee-oxygen_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).

No repository found containing: osgi.bundle,oracle.eclipse.tools.rest.lib,17.0.0.201709131633

打开Window->Preferences->Install/Update->Available software Sites,将Oracle Enterprise Pack For Eclipse改为disable