Failed to Read Artifact Descriptor: IntelliJ

前端 未结 7 1866
旧时难觅i
旧时难觅i 2020-12-04 19:50

I am running into an issue with my Maven POM file where its unable to find spark dependency and is returning with error: Failed to read artifact descriptor for org.apache.sp

相关标签:
7条回答
  • 2020-12-04 20:22

    I had to just solve the issue. Please, go in the Maven tab of the Build, Execution, Deployments and set to the settings provided.

    0 讨论(0)
  • 2020-12-04 20:25

    In Intellij, I had the same issue,

    I did the proxy settings also, and ran the command mvn –U clean install but it's not working.

    I got its resolved with the below setting enabled (highlighted in yellow)

    In Intellij, go to File -> Settings -> Build, Execution, Deployments -> Maven Check the box, ‘Always update snapshots

    0 讨论(0)
  • 2020-12-04 20:25

    Resolved it, was due to a proxy setting that was enabled. Re-ran with mvn -U clean install and all was repaired.

    0 讨论(0)
  • 2020-12-04 20:25

    Following worked for IDEA 17,

    • Go to File
    • Select Settings
    • Select Build, Execution, Deployments
    • Select Build Tools from drop down
    • Select Maven from drop down
    • Tick the Always update snapshots check box
    0 讨论(0)
  • 2020-12-04 20:28

    I guess IntelliJ comes with and ambedded Maven installation, so just make sure your IDE is pointing to the right Maven home directory: and User settings file: values, these are under:

    • Go to File
    • Select Settings
    • Select Build, Execution, Deployments
    • Select Build Tools from drop down
    • Select Maven from drop down
    0 讨论(0)
  • 2020-12-04 20:29

    Go to file => Settings => Build, Execution, Deployment => Maven => Maven home directory: change from Bundled (Maven 3) to Bundled (Maven 2)

    0 讨论(0)
提交回复
热议问题