Implementation can't be assignable from Interface?

Assume I have:

public interface A {

BigDecimal getAmountValue();

void setAmountValue(BigDecimal amountValue);

String getCurrency();

void setCurrency(String currency);



public class B implements A {

protected BigDecimal amount = BigDecimal.ZERO;

protected String currency;

public B() {



public BigDecimal getAmountValue() {

return amount;



public void setAmountValue(BigDecimal amountValue) {

amount = amountValue;



public String getCurrency() {

return currency;



public void setCurrency(String currency) {

this.currency = currency;



I want to know why org.springframework.util.ClassUtils.isAssignable(B, A) return false.

In my application, I'm using a dozer copy with BeanUtils.copyProperties(), and i was able to do it since I tried to upgrade spring version to 3.2.9

Now, BeanUtils.copyProperties() added ClassUtils.isAssignable() and now my application is not working...

Read More »

By: StackOverFlow - Tuesday, 13 March

Related Posts

  • Older News
  • The Case of the Dreaded Interface FeedsGeneral (2 days ago) - The Java/C# interface has a lot to answer for. Recently, someone told me that, "You can tell a design is coupled if it doesn't use interfaces." After a few follow-up...