Bean utils doesn't contains in the default package of JDK or Tomcat, So you need to add it manually as it is a dependency.
If you are building and web project using J2EE
Then add bean utils (.jar file) in your WebContent/WEB-INF/lib directory.
Also add all dependency in this directory
If it's a maven project add the commons-beanutils dependency
Answer from Saif on Stack Overflow<dependency> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils</artifactId> <version>1.9.2</version> </dependency>
Bean utils doesn't contains in the default package of JDK or Tomcat, So you need to add it manually as it is a dependency.
If you are building and web project using J2EE
Then add bean utils (.jar file) in your WebContent/WEB-INF/lib directory.
Also add all dependency in this directory
If it's a maven project add the commons-beanutils dependency
Answer from Saif on Stack Overflow<dependency> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils</artifactId> <version>1.9.2</version> </dependency>
Try running the following commands and examine the output:
$ mvn dependency:tree
$ mvn help:effective-pom
Look for commons-lang, maybe something will draw your attention like excludes or dependency overrides. Also, is:
$ mvn dependency:copy-dependencies
copying commons-lang JAR to your target?
Adding following dependency to pom.xml in dependencies tag helped me:
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.1</version>
</dependency>