JakartaEE Error while generating sources for module: Unable to process template

已回答

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

0

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.

0

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.

0

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. 

0

I have posted them, here is the upload id: 2023_10_11_QRqVqwegbUhi2Rb5fYsPm7

 

0

Thank you for sharing the logs. In there, I see that the error is related to access to  /data/Desktop/JEE/demo6/pom.xml  file. Could you please check permissions on the directory and file or try to create the project in the user home directory? 

0

Thank you for this solution, I create the project in the user home directory and it worked !

0

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.

0

请先登录再写评论。