Help Center> MapReduce Service> Developer Guide (Normal_Earlier Than 3.x)> Spark Application Development> FAQs> How Do I Handle the Dependency Package That Is Automatically Loaded?
Updated on 2022-06-01 GMT+08:00

How Do I Handle the Dependency Package That Is Automatically Loaded?

Question

Before a project is imported using the IDEA, if the Maven has been configured in the IDEA, the tool automatically loads the dependency package specified in the Maven configuration. If the automatically loaded dependency package is not compatible with the application, the project fails to be built. How do I handle the dependency package loaded automatically?

Answer

It is recommended that you manually delete the dependency package that is automatically loaded after the project is imported. The procedure is as follows:

  1. On the IDEA tool, File > Project Structures...
  2. Choose Libraries, right-click the dependency package that is automatically loaded, and choose Delete from the shortcut menu.