commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daan Biesterbos (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CONFIGURATION-625) Missing maven dependency
Date Mon, 02 May 2016 00:13:12 GMT
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)

Mime
View raw message