Foreword
Used in a recent project Dubbox, due before Ali has been in maintenance, so the Maven central repository that can be downloaded, but then Ali is not maintained, became a US group to maintain, so there is no central repository of Dubbo jar package, which resulted in doing the project, package download jar down and not being given, Here's what the solution!
solution
(1) will deploy the package to a local warehouse jar
① Win+R
, input cmd
, after input mvn -v
, look at your maven
environment is installed the
Extraction code: 3ccy
Then enter (the path is inside Dubbo-2.8.4.jar
of the storage path):
mvn install:install-file -Dfile=C:\Users\15231\Desktop\2.8.4\dubbo-2.8.4.jar -DgroupId=com.alibaba -DartifactId=dubbo -Dversion=2.8.4 -Dpackaging=jar
Once you've configured, to a local Maven
warehouse to see, this time Dubbo
of the jar package has been in existence
(2) Offline Configuration Constraints
Into the project, file-> settings, the latter operation, the plug can.
Offline address must be constrained in FIG address files stored offline, can themselves to define
to sum up
After completion of the above operation, the error dependence can be solved, not because of the Dubbo-2.8.4.jar
worry about, but also gain a good knowledge points, maven jar package not in the library, especially like this, the need for manually add, have a better idea of friends, you can leave a message in the comments below, we can exchange ideas! ! !