如何在Intellij 2020.2中创建一个不使用Gradle或Maven的新Java EE项目?

huangapple go评论62阅读模式
英文:

How to create a new Java EE project in Intellij 2020.2 without Gradle or Maven?

问题

我开始学习Java EE,一切都进展顺利。今天我将IntelliJ Ultimate版本更新到了2020.2,并且创建新项目的菜单发生了变化。

之前是这样的:
如何在Intellij 2020.2中创建一个不使用Gradle或Maven的新Java EE项目?

而现在是这样的:
如何在Intellij 2020.2中创建一个不使用Gradle或Maven的新Java EE项目?

问题是我找不到以前的方式来创建新项目,以选择应用服务器和“Web应用程序”库。

这还有可能吗,还是我需要降级?

非常感谢,如果我的问题很愚蠢,我很抱歉。

英文:

I started learning Java EE and everything was well. Today I updated my IntelliJ Ultimate version to 2020.2 and the menu to create a new project has changed.
Before, it was
如何在Intellij 2020.2中创建一个不使用Gradle或Maven的新Java EE项目?

And now it is 如何在Intellij 2020.2中创建一个不使用Gradle或Maven的新Java EE项目?

The problem is that I can't find how to create a new project like before, with the choose of Application server and the libraries "Web Application".

Is it still possible or have I to downgrade?

Thank you very much and sorry if my question is stupid

答案1

得分: 5

现在已经不再可能。唯一的选择是降级到2020.1版本

之前的向导使用了已过时的技术和框架,其中的库存储在JetBrains服务器上,始终滞后于更新,并且极其难以维护。现在我们转向了使用Gradle/Maven项目,所有的依赖都可以从公共服务器获取,项目可以使用最新的Java EE和库版本。

目前,您可以通过在"帮助 | 编辑自定义属性"中添加javaee.legacy.project.wizard=true来重新获取旧的项目向导,并重新启动IDE。

英文:

It's no longer possible. The only option is to downgrade to 2020.1 version.

The previous wizard was using obsolete technologies and frameworks with the libraries hosted on JetBrains servers always lagging updates and extremely hard to maintain. Now we moved to Gradle/Maven projects where all the dependencies can be fetched from the public servers and the project can use up-to-date Java EE and library versions.

At the moment you can get the legacy project wizards back by adding javaee.legacy.project.wizard=true in Help | Edit Custom Properties and restarting the IDE.

huangapple
  • 本文由 发表于 2020年8月27日 06:16:37
  • 转载请务必保留本文链接:https://go.coder-hub.com/63606475.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定