一个使用了protobuf的maven工程在eclipse中会报上述错误,IDE中不会,原因是eclipse的m2e插件无法识别os.detected.classifier这个属性,我的解决方案是在settings.xml增加os.detected.classifier属性配置,里面的值可以通过maven install后获得
eclipse中Unable to resolve artifact: com.google.protobuf:protoc:exe:${os.detected.classifier}:3.11.0
最新推荐文章于 2023-04-14 09:40:46 发布