Dec 16th, 2011, 12:28 PM
xml.transformer.StringResult class not included in 2.1.0.RC1?
Hey all. This was just something I noticed when I tried to use the result-type and result-transformer properties in the XML transformer classes and got a ClassNotFoundException. The ResultToStringTransformer imports StringResult but it isn't included in the package!
I just re-downloaded the release to make sure it wasn't just a fluke, and it isn't. I'm not sure if the developers are trying to go in a new direction with it, but I thought I'd bring it to attention.
EDIT: I need to read more carefully. I just noticed StringResult is a Spring WS class, not an integration one. Sorry for the confusion!
Last edited by MattF; Dec 16th, 2011 at 12:55 PM.
Dec 16th, 2011, 12:50 PM
You'll find this class in the spring xml jar and not in spring integration. You should find this jar as a dependency in pom.xml.