Announcement Announcement Module
Collapse
No announcement yet.
Wrong number of type parameters Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Wrong number of type parameters

    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:

    Code:
    <bean id="amazonSoapClient" class="com.amazonaws.a2s.AmazonA2SClient">
    	<constructor-arg index="0" value="${amazon.accessKeyId}"/>
    	<constructor-arg index="1" value="${amazon.associateId}"/>
    </bean>
    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".

    Thanks in advance for any suggestions,
    DM

  • #2
    SOAP client can not use in this way?

    Comment

    Working...
    X