cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Satish Kumar Kommuri (JIRA)" <>
Subject [jira] Commented: (CXF-1390) Upgrade to Spring 2.5
Date Mon, 14 Apr 2008 12:41:04 GMT


Satish Kumar Kommuri commented on CXF-1390:

Hi All,
we are also getting "UnsatisfiedDependencyException" for all the spring beans of type java.lang.String
and that use CDATA for value of the constructor-arg.

we are using: Spring 2.5.3 and cxf 2.0.2. The same is working without any issues with Spring

In detail,

<bean id="FIND_SYMB_HQL" class="java.lang.String" >
	               from Element o where o.elementRoot.underlyingInstrument.symbol = :symbol
	               	and o.status = :status

For example a bean defined as above is getting complained by Spring with the following exception
being thrown.

" Unsatisfied dependency expressed through constructor argument with index 0 of type [java.lang.StringBuffer]:
Could not convert constructor argument value of type [java.lang.String] to required type [java.lang.StringBuffer]:
Failed to convert value of type [java.lang.String] to required type [java.lang.StringBuffer];
nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [java.lang.String]
to required type [java.lang.StringBuffer]: no matching editors or conversion strategy found"

Appreciate any inputs on this issue.

> Upgrade to Spring 2.5
> ---------------------
>                 Key: CXF-1390
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.3
>            Reporter: Dan Diephouse
>         Attachments: cxf-spring-demo.war, cxf-spring-error.war, cxf-spring-error_stacktrace.rtf
> CXF doesn't work correctly on Spring 2.5. For instance, you get this:
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean
with name 'jrulesService': Unsatisfied dependency expressed through constructor argument with
index 2 of type [org.apache.cxf.jaxws.JaxWsServerFactoryBean]: Ambiguous constructor argument
types - did you specify the correct bean references as constructor arguments?
> (What ever happened to the famed backward compatability!? :-) *sigh*) 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message