我自己的原因不明,可能是我没有重新install,直接把项目里的jar文件拿出来就用了。 重新 clean、compile、package、install 生成的jar文件可以使用。 转载于:https://www.cnblogs.com/CESC4/p/8005964.html