我要评分
获取效率
正确性
完整性
易理解

Compiling dubbo-common

  1. Modify the NetUtilsTest.java file.
    1. Open the file.
      1
      vim /home/Dubbo/dubbo-dubbo-2.7.5/dubbo-common/src/test/java/org/apache/dubbo/common/utils/NetUtilsTest.java
      
    2. Press i to enter the insert mode and comment out line 53.

    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  2. Go to the /home/Dubbo/dubbo-dubbo-2.7.5/dubbo-common directory.
    1
    cd /home/Dubbo/dubbo-dubbo-2.7.5/dubbo-common
    
  3. Compile the dubbo-common module.
    1
    mvn install
    

    If BUILD SUCCESS is displayed, the dubbo-common module is compiled successfully.