英文:
How to create a new Java EE project in Intellij 2020.2 without Gradle or Maven?
问题
我开始学习Java EE,一切都进展顺利。今天我将IntelliJ Ultimate版本更新到了2020.2,并且创建新项目的菜单发生了变化。
之前是这样的:
而现在是这样的:
问题是我找不到以前的方式来创建新项目,以选择应用服务器和“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
And now it is
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论