Updated on 2022-09-14 GMT+08:00

How to Automatically Load Jars Packages?

Question

Before importing a project by using the IDEA tool, if Maven has been configured in the IDEA tool, the IDEA tool will automatically load the Jars packages in the Maven configuration. When the automatically loaded Jars packages do not match with the application, the project fails to be built. How to Automatically Load Jars Packages?

Answer

After a project is imported, to manually delete the automatically loaded Jars packages, perform the following steps:

  1. On the IDEA tool, choose File > Project Stuctures....
  2. Select Libraries and select the Jars packages that are automatically imported. Right-click the mouse and select Delete.