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

  <dependency>            
      <groupId>commons-beanutils</groupId>
      <artifactId>commons-beanutils</artifactId>
      <version>1.9.2</version>        
  </dependency>
Answer from Saif on Stack Overflow
🌐
Coderanch
coderanch.com › t › 637809 › java › error-package-org-apache-commons
error: package org.apache.commons.beanutils does not exist (Servlets forum at Coderanch)
error: package org.apache.commons.beanutils does not exist I'm working through the example code of chapter 4 of Core Servlets and JavaServer Pages (http://volume1.coreservlets.com/archive/Chapter4.html) and I get the above error when I try to compile the BeanUtilities.java file.
🌐
Maven Repository
mvnrepository.com › artifact › commons-beanutils › commons-beanutils
Maven Repository: commons-beanutils » commons-beanutils
May 27, 2025 - Apache Commons BeanUtils provides an easy-to-use but flexible wrapper around reflection and introspection.
🌐
Apache Commons
commons.apache.org › beanutils
Commons – Apache Commons BeanUtils
Apache Commons BeanUtils ™ · Last Published: 25 May 2025 · | Version: 2.0.0-M2 · ApacheCon · Apache · Commons · Copyright © 2000-2025 The Apache Software Foundation.
🌐
GitHub
github.com › apache › commons-beanutils
GitHub - apache/commons-beanutils: Apache Commons Beanutils · GitHub
Questions related to the usage of Apache Commons BeanUtils should be posted to the user mailing list. You can download source and binaries from our download page. Alternatively, you can pull it from the central Maven repositories: <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-beanutils2</artifactId> <version>2.0.0-M2</version> </dependency>
Author   apache
🌐
Apache Commons
commons.apache.org › beanutils › download_beanutils.cgi
Download Apache Commons BeanUtils – Apache Commons BeanUtils
Apache Commons BeanUtils ™ · Last Published: 25 May 2025 · | Version: 2.0.0-M2 · ApacheCon · Apache · Commons · Copyright © 2000-2025 The Apache Software Foundation.
🌐
Stack Overflow
stackoverflow.com › questions › tagged › apache-commons-beanutils
Newest 'apache-commons-beanutils' Questions - Stack Overflow
If my object is a record this is not working : value = BeanUtils.getProperty(object, property); I guess it is looking for a getter which does not exist.
🌐
Baeldung
baeldung.com › home › data › apache commons beanutils
Apache Commons BeanUtils | Baeldung
August 22, 2025 - In this case, common-beanutils is the only dependency we need for Apache Commons BeanUtils.
Find elsewhere

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

  <dependency>            
      <groupId>commons-beanutils</groupId>
      <artifactId>commons-beanutils</artifactId>
      <version>1.9.2</version>        
  </dependency>
Answer from Saif on Stack Overflow
🌐
Coderanch
coderanch.com › t › 438008 › build-tools › Build-Error-beanutils
Build Error - beanutils (Other Build Tools forum at Coderanch)
I tend to get compilation error saying package org.apache.commons.beanutils does not exist, but inside pom.xml, its specified <dependency> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils-core</artifactId> <version>1.8.0</version> </dependency> <dependency> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils</artifactId> <version>1.8.0</version> </dependency>
🌐
Wikipedia
en.wikipedia.org › wiki › Apache_Commons_BeanUtils
Apache Commons BeanUtils - Wikipedia
1 week ago - */ public void testAllowAccessToClassProperty() throws Exception { final BeanUtilsBean bub = new BeanUtilsBean(); bub.getPropertyUtils().removeBeanIntrospector(SuppressPropertiesBeanIntrospector.SUPPRESS_CLASS); final AlphaBean bean = new AlphaBean(); String result = bub.getProperty(bean, "class"); assertEquals("Class property should have been accessed", "class org.apache.commons.beanutils2.AlphaBean", result); }
🌐
Javadoc.io
javadoc.io › doc › commons-beanutils › commons-beanutils › 1.9.1 › org › apache › commons › beanutils › package-use.html
Uses of Package org.apache.commons.beanutils, - commons-beanutils 1.9.1 javadoc
Latest version of commons-beanutils:commons-beanutils · https://javadoc.io/doc/commons-beanutils/commons-beanutils · Current version 1.9.1 · https://javadoc.io/doc/commons-beanutils/commons-beanutils/1.9.1 · package-list path (used for javadoc generation -link option) https://javadoc.io/doc/commons-beanutils/commons-beanutils/1.9.1/package-list ·
🌐
Maven Central
repo1.maven.org › maven2 › commons-beanutils › commons-beanutils › 1.8.0 › commons-beanutils-1.8.0.pom
https://repo1.maven.org/maven2/commons-beanutils/ ...
org.apache.commons · commons-parent · 4.0.0 · commons-beanutils · 1.8.0 · Commons BeanUtils · BeanUtils provides an easy-to-use but flexible wrapper around reflection and introspection · http://commons.apache.org/beanutils/ · http://issues.apache.org/jira/browse/BEANUTILS
🌐
Apache Commons
commons.apache.org › proper › commons-beanutils › changes.html
Apache Commons BeanUtils Release Notes – Apache Commons BeanUtils
Apache Commons BeanUtils ™ · Last Published: 25 May 2025 · | Version: 2.0.0-M2 · ApacheCon · Apache · Commons · Copyright © 2000-2025 The Apache Software Foundation.
🌐
Maven Central
central.sonatype.com › artifact › commons-beanutils › commons-beanutils › 1.9.1
commons-beanutils:commons-beanutils:1.9.1 - Maven Central
pkg:maven/commons-beanutils/commons-beanutils@1.9.1 ... Apache Commons BeanUtils provides an easy-to-use but flexible wrapper around reflection and introspection.
🌐
Maven Central
central.sonatype.com › artifact › commons-beanutils › commons-beanutils
commons-beanutils - Maven Central
pkg:maven/commons-beanutils/commons-beanutils@Loading... ... Apache Commons BeanUtils provides an easy-to-use but flexible wrapper around reflection and introspection.
🌐
Experts Exchange
experts-exchange.com › questions › 21304185 › using-import-org-apache-commons-beanutils-BeanUtils.html
Solved: using import org.apache.commons.beanutils.BeanUtils; | Experts Exchange
May 7, 2004 - I place this file under .../coreservlets/beans/ and placed all necessary jar file under tomcat_dir/common/lib/. how do I have to change that line: import org.apache.commons.beanuti ... ls; BeanUtilities.java ------------------------- package coreservlets.beans; import java.util.*; import javax.servlet.http.*; import org.apache.commons.beanuti
🌐
Maven Central
central.sonatype.com › artifact › org.apache.commons › commons-beanutils2
org.apache.commons:commons-beanutils2 - Maven Central
--> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd"> <parent> <groupId>org.apache.commons</groupId> <artifactId>commons-parent</artifactId> <version>84</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>commons-beanutils2</artifactId> <version>2.0.0-M2</version> <name>Apache Commons BeanUtils</name> <inceptionYear>2000</inceptionYear> <description>Apache Commons BeanUtils provides an easy-to-use but flexible wrapper around ref