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)