You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Daan Biesterbos (JIRA)" <ji...@apache.org> on 2016/05/02 02:13:12 UTC

[jira] [Created] (CONFIGURATION-625) Missing maven dependency

Daan Biesterbos created CONFIGURATION-625:
---------------------------------------------

             Summary: Missing maven dependency
                 Key: CONFIGURATION-625
                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-625
             Project: Commons Configuration
          Issue Type: Bug
    Affects Versions: 2.0
            Reporter: Daan Biesterbos
            Priority: Minor


When I use maven to include configuration 2.* in my project I get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/beanutils/BeanIntrospector.

The code that crashed did nothing but loading a few .properties files and add the property configuration to a composite. How to load .properties files is different in 2.0 so all I was copying the example from the documentation and modified the parameters. 

I fixed the problem by adding the following dependency to maven:

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

The 1.8 version of beanutils does not fix it.

P.S. Thanks for reviving this project. :-)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)