2022.1 new module has error: Location: Directory is already taken by the project 'xxx'
IntelliJ IDEA 2022.1 (Ultimate Edition)
Build #IU-221.5080.210, built on April 12, 2022
Licensed to oilier angels
Subscription is active until March 26, 2023.
Runtime version: 11.0.14.1+1-b2043.25 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 5120M
Cores: 8
Non-Bundled Plugins:
com.intellij.spring.webflow (221.5080.169)
com.intellij.guice (221.5080.169)
cn.haojiyou.CodeGlance3 (2.1.1-2021.1.3)
org.jetbrains.plugins.vue (221.5080.169)
Pythonid (221.5080.212)
com.intellij.bigdatatools (221.4165.63)
com.haulmont.jpab (2022.2.1-221)
Kotlin: 221-1.6.20-release-285-IJ5080.210
===================================================
I have a parent project and want to create a new subclass module. The 'Location' of 'Spring Initializr 'panel reports an error: Directory is already taken by the project' xxx ', which is only not available for 2022.1. 2021.3 can be created normally

请先登录再写评论。
Thanks for taking the time to report this.
It is a bug that was fixed just recently: https://youtrack.jetbrains.com/issue/IDEA-292362/Unable-to-create-new-Spring-module:-project-location-is-already-
The fix will be available in the next minor release due May 12. As a workaround for version 2022.1 in the meantime, please use subfolders for new modules created from this dialog.
Apologies for the inconvenience.