报这个错一般是jar包引用问题引起的。
我的问题是:
由于引用了相同的包,
打开
Java Build Path->Libraries->JARs and class folders on the build path
去掉其中一个jar包即可
本文主要介绍了当在Java项目中遇到因重复引用相同Jar包而导致的问题时,如何通过调整JavaBuildPath来解决这类问题。具体步骤包括:打开JavaBuildPath-Libraries-JARsandclassfoldersonthebuildpath,然后移除其中一个多余的Jar包。
报这个错一般是jar包引用问题引起的。
我的问题是:
由于引用了相同的包,
打开
Java Build Path->Libraries->JARs and class folders on the build path
去掉其中一个jar包即可

被折叠的 条评论
为什么被折叠?