I have created new module under java project, but the pom.xml under new module is crossed out. Tried re-creating new module and copy past of existing module didn't work.
pom.xml in IntelliJ crossed out
Found the answer, From intellij go to settings → Build,Execution,Deployment → Build Tools → Maven → Ignored Files -> just uncheck the pom.xml file which is selected.
Reference -> https://markus-springer.medium.com/intellij-pom-xml-crossed-out-cant-build-project-module-3768c88b6eb2
© 2022 - 2024 — McMap. All rights reserved.