新版本的idea用maven打包项目总是提示Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=GBK,

Answered

你好:

 请问为什么我的idea升级到最新版本后,用maven打包总是提示新版本的idea用maven打包项目总是提示Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=GBK,,之前版本从来没有过,也没做过什么配置

0
3 comments

Hi, thanks for your question!

I can't reproduce this issue on my side using IntelliJ IDEA 2025.3. Do you use the latest release version of the IntelliJ IDEA 2025.3 (Build #IU-253.28294.334)?
Could you please provide more details about your settings:

  1. Screenshot of the Settings | Editor | File Encodings;
  2. Do you have any environment variables set in Settings | Build, Execution, Deployment | Build Tools | Maven | Runner?
  3. Check your VM options in Help | Edit Custom VM options if there is an encoding-related setting there?
  4. If you run Maven goals using a manually created Maven run configuration, please provide a screenshot of your configuration in Run | Edit configurations…

Please upload screenshots to our server https://uploads.jetbrains.com/ and provide us with the Upload ID.
The uploaded data will be accessible only to our team and will be used solely for investigating this issue.
Thanks! 

0

Hi, same issue is occurring to me after upgrading to 2025.3

It does not show when building using the terminal. There are no extra encoding settings added in listed paths. Just a standard maven “clean install” runner.

0

Thank you for the clarification! I have rechecked the information regarding this behavior.
This notification is the result of an internal IntelliJ IDEA mechanism that ensures the correct display of non-Unicode characters in Maven output. It is not an error and does not require any action from you.

If you are encountering encoding issues, please describe your case in detail and subscribe to the ticket IDEA-382013.

0

Please sign in to leave a comment.