Java Import collides with another import statement解决办法

在Java引入包的时候,当出现  ****.collides with another import statement的时候


问题为 两个导入的包冲突

例如:以下两个包冲突

import com.sun.org.apache.bcel.internal.generic.Select;

import org.openqa.selenium.support.ui.Select;

这种情况下  选择删除一个包即可

麻蛋,,为了导入select 包,用了我半天的世时间,,,,,,,

猜你喜欢

转载自blog.csdn.net/weixin_41585557/article/details/80985533