Hi,
I have a set of test classes that extend AbstractTransactionalJUnit4SpringContextTests. I recently added a bean to my Spring configuration which is a SOAP client for Amazon's web services:
I now find that when I run my test classes I get the attached stack trace when the application context is being created. I can't really make much sense of this, but the root cause would appear to be AspectJ complaining that "java.lang.IllegalStateException: Wrong number of type parameters supplied".Code:<bean id="amazonSoapClient" class="com.amazonaws.a2s.AmazonA2SClient"> <constructor-arg index="0" value="${amazon.accessKeyId}"/> <constructor-arg index="1" value="${amazon.associateId}"/> </bean>
Thanks in advance for any suggestions,
DM


Reply With Quote