Get the App
SLTechnology News&Howtos  ›  Development  › 

How to solve the problem of maven relying on ${xxx.version} error report

Shulou Source: shulou.com Published: 2022-06-02 01:47:28 10月01日 Update

This article mainly introduces the relevant knowledge of "how to solve the problem of maven relying on ${xxx.version} error". The editor shows you the operation process through an actual case. The method of operation is simple, fast and practical. I hope this article "how to solve the problem of maven relying on ${xxx.version}" can help you solve the problem.

Maven relies on ${xxx.version} to report an error

When pom.xml introduces dependencies, the version ${xxx.version} sometimes returns red.

Add the following configuration to the pom file to solve the version number maven dependent version number error resolution (metaphysics)

Tried two methods of other articles, but without success

Metaphysical solution

So go to the maven local warehouse to find this folder and delete it. Close IDEA and reopen IDEA

At this time, the dependent version no longer reports red.

This is the end of the content about "how to solve the problem of maven relying on ${xxx.version} error". Thank you for your reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.

Tags: Questions versions knowledge documents articles methods metaphysics industries differences practicality success warehouses content practicality practicality folders more cases knowledge points articles Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Apple MySQL Huawei macOS