java.lang.ClassNotFoundException: org.apache.commons.beanutils.DynaBean

项目报错:java.lang.ClassNotFoundException: org.apache.commons.beanutils.DynaBean

 

解决方法:

在pom.xml中加入如下依赖:

<dependency>
    <groupId>commons-beanutilsgroupId>
    <artifactId>commons-beanutilsartifactId>
    <version>1.8.3version>
dependency>

如果添加了上面的依赖还是不行的话可以试试将下面的dependency加入pom.xml试试

<dependency>
  <groupId>commons-collectionsgroupId>
  <artifactId>commons-collectionsartifactId>
  <version>3.2.1version>
dependency>
<dependency>
  <groupId>commons-langgroupId>
  <artifactId>commons-langartifactId>
  <version>2.6version>
dependency>

 

你可能感兴趣的:(java.lang.ClassNotFoundException: org.apache.commons.beanutils.DynaBean)