[
https://issues.apache.org/jira/browse/JXPATH-190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15926203#comment-15926203
]
Tobias Gruetzmacher commented on JXPATH-190:
--------------------------------------------
Pull request: https://github.com/apache/commons-jxpath/pull/13
> Make BeanUtils dependency optional in BasicTypeConverter
> --------------------------------------------------------
>
> Key: JXPATH-190
> URL: https://issues.apache.org/jira/browse/JXPATH-190
> Project: Commons JXPath
> Issue Type: Improvement
> Affects Versions: 1.3
> Reporter: Tobias Gruetzmacher
>
> When using BasicTypeConverter.canConvert or BasicTypeConverter.convert, if
> the method can't find a "simple" solution, it tries to fall back to
> org.apache.commons.beanutils.ConvertUtils.lookup - since commons-beanutils is
> an optional dependency, this class might not be available, so you end up with
> a nasty java.lang.NoClassDefFoundError...
> My proposal would be to make this call optional too, so users of JXPath don't
> need to depend on commons-beanutils.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)