Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
这种问题在java当中还挺常见,在c++当中有解决办法吗?
举个栗子,在我们目前的项目中使用了A和B两个Jar包,A包在依赖中依赖了C包,而B包在依赖中也同时依赖了C包,但是A包依赖的C的版本的1.0,B依赖C包的版本是2.0。此时,我们的项目中就出现了1.0.和2.0两个版本的C包,此时Maven会依赖路径最短优先原则,来决定使用哪个版本的Jar包,而另外一个无用的Jar包则未被使用,这就是所谓的依赖冲突
举个例子,在nodejs当中是这样设定的
有没有办法指定某个模块的文件位置?
有两个模块都是同一个名称
leetcode_treenode_cpp.TreeNode
,就报错了@waruqi
Beta Was this translation helpful? Give feedback.
All reactions