IDEA Error: A JNI error has occurred, please check your installation and try again

问题描述:

Error: A JNI error has occurred, please check your installation and try again

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/storm/topology/IRichSpout

解决方案:

Run=>Edit Configurations=> 将Include dependencies with "Provided" scope 勾选上

注意: 每个新增文件默认这个都是没有勾选上的!!所以新增每个文件后,如果报错,都要查看下这个是否勾选上了

猜你喜欢

转载自blog.csdn.net/yscoder/article/details/109543786
今日推荐