web framework in Maven project
已回答
Create a new Maven project and add a web framework, close the project and reopen it to find that the web framework is invalid, open the project structure and find that the web framework in the facet and module disappears.


In the notification, there will be a prompt that the web framework is detected and you need to manually click on the configuration. It is too troublesome to click every time you reopen the project.
请先登录再写评论。
Hello, 2910856811.
Thank you for the report. I was able to reproduce a problem and created a new issue in our YouTrack. Please, feel free to follow it to receive updates.
This bug has not been solved in the latest version of idea, and the subsequent version of 2022.3.3 has always had this bug.
2910856811 The bug report is still in the open state: https://youtrack.jetbrains.com/issue/IDEA-321822
The problem was reproduced and will be fixed eventually. Please follow the progress in IDEA-321822.
The latest version of idea2023.2.1 still has this problem and has not been fixed
The fix for IDEA-321822 will be included to the next 2023.2.2 build. Approximately, it will be available on the next week
Only part of it has been fixed. Creating a webapp project from Maven Archetype will no longer cause errors.
However, if you select the Maven project in New Project and add the web framework after creation, the BUG will reappear.