This error likely occurs due to the special characters in your Windows username, which may be causing issues with file paths. To fix it, try one of the following:
Set a temporary directory: Go to File > Settings > Build, Execution, Deployment > Compiler in IntelliJ and set a custom temporary directory path without special characters.
Run IntelliJ as Admin: Right-click on IntelliJ and select “Run as Administrator” to see if it helps.
Create a new user profile: Consider creating a new Windows user profile with a simpler name (e.g., no special characters) and try running IntelliJ there.
Let me know if this helps!