Java Intellij Checkstyle给出错误NoClassDefFoundError

Java Intellij Checkstyle给出错误NoClassDefFoundError,java,ubuntu,intellij-idea,checkstyle,Java,Ubuntu,Intellij Idea,Checkstyle,我有Intellij 2017.2.3和Checkstyle IDEA 5.10.0在我的Ubuntu17 dekstop上运行。当我尝试为我的Java项目添加checkstyle(在设置->其他设置->checkstyle)时,我收到以下错误消息: java.lang.NoClassDefFoundError: org/apache/commons/collections/FastHashMap at org.apache.commons.beanutils.PropertyUtils

我有Intellij 2017.2.3和Checkstyle IDEA 5.10.0在我的Ubuntu17 dekstop上运行。当我尝试为我的Java项目添加checkstyle(在设置->其他设置->checkstyle)时,我收到以下错误消息:

java.lang.NoClassDefFoundError: org/apache/commons/collections/FastHashMap
    at org.apache.commons.beanutils.PropertyUtilsBean.getPropertyDescriptor(PropertyUtilsBean.java:963)
    at org.apache.commons.beanutils.BeanUtilsBean.copyProperty(BeanUtilsBean.java:391)
    at com.puppycrawl.tools.checkstyle.api.AutomaticBean.tryCopyProperty(AutomaticBean.java:217)
    at com.puppycrawl.tools.checkstyle.api.AutomaticBean.contextualize(AutomaticBean.java:249)
    at com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:455)
    at com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBean.java:186)
    at org.infernus.idea.checkstyle.service.cmd.OpCreateChecker.execute(OpCreateChecker.java:58)
    at org.infernus.idea.checkstyle.service.cmd.OpCreateChecker.execute(OpCreateChecker.java:26)
    at org.infernus.idea.checkstyle.service.CheckstyleActionsImpl.executeCommand(CheckstyleActionsImpl.java:126)
    at org.infernus.idea.checkstyle.service.CheckstyleActionsImpl.createChecker(CheckstyleActionsImpl.java:56)
    at org.infernus.idea.checkstyle.service.CheckstyleActionsImpl.createChecker(CheckstyleActionsImpl.java:47)
    at org.infernus.idea.checkstyle.checker.CheckerFactoryWorker.run(CheckerFactoryWorker.java:44)

有人熟悉吗

将项目从
WAS 8
迁移到
WAS Liberty
时,我遇到了同样的问题。 我将jar
commons collections.jar
复制到服务器位置
/servers//lib/global
,并解决了它。 因此,尝试将jar放在IntelliJ本地服务器上

java.lang.NoClassDefFoundError: org.apache.commons.collections.FastHashMap 
at org.apache.commons.beanutils.PropertyUtilsBean.getPropertyDescriptor(PropertyUtilsBean.java:963)
at org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:935)
at org.apache.commons.beanutils.BeanUtilsBean.populate(BeanUtilsBean.java:823)
at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:431)
at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1252)

您可能希望在上报告此问题。由于此问题发生在IDEA内部,因此他们应该是您的第一个联系人,因为包含
commons collections
的Checkstyle发布版本可以正常工作。提出建议。他们想知道当您从命令行运行Checkstyle时是否会发生这种情况。提供完整的配置文件。我如何知道本地服务器在哪里?我使用Ubuntu 17.10。