# How to fix My note local Maven build error due to Selenium dependency declaration

+关注继续查看

One colleague has encountered this issue:

after parent version id and one dependency for Selenium’s version id are changed:the local Maven build fails due to the following Java compilation error ( the unit test of My note application is written based on Selenium framework, not OPA )

So how to find the appropriate version id of Selenium framework when parent id is changed to 1.10.4?

First trigger a local build with default state of pom.xml, the local can succeed.

If you enable the debug option of Maven build,you can find in debug output that the version should be 1.5.0So after you specify selenium as 1.5.0 with parent as 1.10.4, the build can pass:n fact you can also find this 1.5.0 here:

8659 0

11023 0

10487 0

2297 0

12301 0

4573 0

6635 0
+关注
1526

0

+ 订阅

《2021云上架构与运维峰会演讲合集》

《零基础CSS入门教程》

《零基础HTML入门教程》