Spring Tools Suite, JPA project and the JPA facet

╄→гoц情女王★ 提交于 2019-12-18 09:06:23

问题


I am using a fresh install of STS 3.8.3 and I am unable to add the JPA facet to an EJB project:

If I try to create a JPA project, I cannot find that option:

I am certain these used to be available in STS. What did I miss?


回答1:


We removed those extensions from the default distribution because users reported severe issues (search for JPA Event Handler on SO). In order to avoid this we decided to remove those tools from the distribution and added them to the extension install, so that you can get them back into STS quite easily.

However, we can revisit that decision in the future, if those tools don't cause those issues anymore.




回答2:


Upon further investigation I discovered that the Eclipse Web Tools Platform at eclipse update site http://download.eclipse.org/webtools/repository/neon includes the following:

Why is this no longer configured in STS? That is really too bad and not a good decision in my opinion.




回答3:


Go to Help -> Install New Software -> in the work with drop down , choose one with "https://download.eclipse.org/releases/*".

In the result you will be able to see Database Development. Choose the database you wish to configure.



来源:https://stackoverflow.com/questions/42869652/spring-tools-suite-jpa-project-and-the-jpa-facet

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!