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

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

 

解决方法:

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

<dependency>
    <groupId>commons-beanutils</groupId>
    <artifactId>commons-beanutils</artifactId>
    <version>1.8.3</version>
</dependency>

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

<dependency>
  <groupId>commons-collections</groupId>
  <artifactId>commons-collections</artifactId>
  <version>3.2.1</version>
</dependency>
<dependency>
  <groupId>commons-lang</groupId>
  <artifactId>commons-lang</artifactId>
  <version>2.6</version>
</dependency>

 

posted @ 2017-09-13 17:24  岁月淡忘了谁  阅读(1210)  评论(0编辑  收藏  举报