Failed to deploy war file to servicemix due to IllegalAccessException of Spring context

Description

I tried to make very simple Spring MVC application with spring-webmvc dependency and maven-bundle-plugin in pom.xml. When deploying the war file to servicemix, get IllegalAccessException of org.springframework.context.support.ApplicationContextAwareProcessor.EmbeddedValueResolver

And I tried to deploy a simple struts 2 application to ServiceMix, it works fine. I guess that is because different ClassLoader of spring ( one is injected from OSGI, another is defined by the war file).

Environment

Win 7 Enterprise SP1
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
Servicemix 5.4.0
Spring 3.2.11.RELEASE

Status

Assignee

Unassigned

Reporter

Jason Hao

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure