Hi Christopher,

This error:

BeanInstantiationException: Could not instantiate bean class [javax.jcr.Node]: 
Specified class is an interface

Is encountered when Spring has no resolver that can provide an instance, it 
will then try to create a new instance but it fails obviously since Node is an 
interface. You do have the BlossomWebArgumentResolver configured on 
AnnotationMethodHandlerAdapter. I suspect that its not used because 
<mvc:annotation-driven /> adds another AnnotationMethodHandlerAdapter and that 
is what's being used. Does it work if you remove it?

<mvc:annotation-driven /> is essentially a macro for setting up MVC with 
sensible defaults. It doesn't check what else is configured and therefore will 
sometimes interfere with the beans you configure on your own.

Hope that helps, Tobias

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=a0450c46-0526-4ce2-a2ab-efe3b98297f8


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to