Results 1 to 2 of 2

Thread: Wrong number of type parameters

  1. #1
    Join Date
    Oct 2006
    Posts
    156

    Default 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
    Attached Files Attached Files

  2. #2
    Join Date
    Jun 2008
    Posts
    15

    Default

    SOAP client can not use in this way?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •