[
https://issues.apache.org/jira/browse/CONFIGURATION-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13136064#comment-13136064
]
anvk commented on CONFIGURATION-469:
------------------------------------
I am using commons-configuration-1.7. This is what I am doing in my code.
XMLConfiguration config = new XMLConfiguration(fileLocation);
BeanDeclaration beanDeclaration = new XMLBeanDeclaration(config, "name");
BeanHelper.createBean(beanDeclaration);
> ConfigurationRuntimeException: Bean class is not specified!
> -----------------------------------------------------------
>
> Key: CONFIGURATION-469
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-469
> Project: Commons Configuration
> Issue Type: Bug
> Reporter: anvk
>
> I am getting the following error when I use commons configuration under
> JBoss. Standalone application is working fine.
> {code}
> Caused by: org.apache.commons.configuration.ConfigurationRuntimeException:
> org.apache.commons.configuration.ConfigurationRuntimeException:
> org.apache.commons.configuration.ConfigurationRuntimeException: Bean class is
> not specified!
> 11:18:51,642 ERROR [STDERR] at
> org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:250)
> 11:18:51,642 ERROR [STDERR] at
> org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:267)
> 11:18:51,642 ERROR [STDERR] at
> org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:281)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira