JakartaEE Error while generating sources for module: Unable to process template
Answered
In ideaJ when i create a new JakartaEE project i got this error: Error while generating sources for module: Unable to process template
I already update Ideaj, delete and reinstall it and use last jdk version.
Help pls
Please sign in to leave a comment.
Hello, Jliogerbun. Could you please describe in more detail which options you select in the New Project wizard? I want to reproduce the issue on my side.
I selected:
-Web application in Template
-Tomcat 10.1.13 in Application server
-Java
-Maven
-JDK 17
Then I clcked on next and change Jakarta to Jakarta EE 10 and then create the project. When I do that I have a pop-up with the error Error while generating sources for module: Unable to process template.
Thank you for the update. Unfortunately, I wasn't able to reproduce the problem on my side. Please, collect the IDE logs (
Help | Collect Logs and Diagnostic Data), share them via the JetBrains Uploads service, and write the ID you receive here. I want to check the logs and see the full error that should be reported there.I have posted them, here is the upload id: 2023_10_11_QRqVqwegbUhi2Rb5fYsPm7
Thank you for sharing the logs. In there, I see that the error is related to access to
/data/Desktop/JEE/demo6/pom.xmlfile. Could you please check permissions on the directory and file or try to create the project in the user home directory?Thank you for this solution, I create the project in the user home directory and it worked !
Thank you for the update; I'm glad the problem is solved. If you have any further questions or requests, please, feel free to contact us.