There is no error when compiling and packaging the IDEA code, but the code displays an error

Uploading… Re-upload cancel

The figure is casually found on the Internet. It shows that the code is compiled successfully, but the packaging fails. When maven reimprot and mavn clean and idea invalidate cache are useless, it is recommended to empty the. Idea and. IML files in the workspace folder
the reason is incomplete or incorrect package guide information, which is caused by the disordered configuration information of the workspace of the idea itself.

 . iml Folder

Idea means module configuration information. Information of module
IML is the project configuration file of IntelliJ idea, which contains some configuration information of the current project Idea stores the configuration information of the project, including history, version control information, etc.

 .idea Folder

Idea stores the configuration information of the project, including history, version control information, etc.

Read More: