
Originally Posted by
eweibust
I'm having problems running the airline example. Following the readme.txt I'm running mvn jetty:run and getting the following error.
Any ideas?
TIA...
Erik
2007-12-17 14:58:45,352 ERROR [org.springframework.web.context.ContextLoader] -
Context initialization failed
org.springframework.beans.factory.BeanCreationExce ption: Error creating bean wit
h name 'messageReceiver' defined in class path resource [org/springframework/ws/
samples/airline/ws/applicationContext-ws.xml]: Initialization of bean failed; ne
sted exception is org.springframework.beans.factory.BeanCreationExce ption: Error
creating bean with name 'org.springframework.ws.server.endpoint.adapter.Ge neric
MarshallingMethodEndpointAdapter': Cannot resolve reference to bean 'marshaller'
while setting bean property 'marshaller'; nested exception is org.springframewo
rk.beans.factory.BeanCreationException: Error creating bean with name 'marshalle
r': Invocation of init method failed; nested exception is java.lang.LinkageError
: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from
jar:file:/C:/dev/.m2/com/sun/xml/bind/jaxb-impl/2.1.5/jaxb-impl-2.1.5.jar!/com/
sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed d
irectory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http
://java.sun.com/j2se/1.5.0/docs/guide/standards/)