unit testing - Java: how to make sense out of cryptic stack traces? -


while trying run unit test, following stack trace. don't know start looking (read comment below).

where should start , solve this?

(note following stack trace how eclipse, without formatting or anything: countless lines of 120 chars each) [i pasted 5 lines apparently problem happens]

caused by: org.springframework.beans.factory.beancreationexception: error creating bean name 'acceptancechain' defined in class path resource   [.../chain/connector/...xml]: cannot resolve reference bean 'xxxcommand' while setting constructor argument key [0]; nested exception   org.springframework.beans.factory.beancreationexception: error creating bean name 'xxxcommand' defined in class path resource   [.../bl/chain/connector/....xml]: cannot create inner bean 'yyydto#1d95da7' of type [yyylistdto] while setting bean property 'yyylistdto'; nested exception   org.springframework.beans.factory.unsatisfieddependencyexception: error creating bean name 'yyylistdto#1d95da7' defined in class path resource   [zzz.xml]: unsatisfied dependency expressed through constructor argument index 0 of type [boolean]: not convert constructor argument value of type   [java.util.linkedhashmap] required type [boolean]: failed convert value of type [java.util.linkedhashmap] required type [boolean]; nested exception   java.lang.illegalargumentexception: cannot convert value of type [java.util.linkedhashmap] required type [boolean]: no matching editors or conversion   strategy found 

any welcome.

take signifiant part of message :

error creating bean name 'acceptancechain' defined in class path resource  

i guess bean acceptancechain can't instanciated. maybe because has boolean parameter in 1 tries inject linkedhashmap, following message states :

failed convert value of type [java.util.linkedhashmap] required type [boolean] 

Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -