在android3.0中使用spring2.5.6下的httpInvoker进行远程调用,获取bean实例时在以下代码处发生错误。   
   @Override
    public void onCreate(Bundle savedInstanceState) {
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("
                                     invoker-client.xml");//此处报错
        AndroidContext.setValue(AndroidContext.SPRING_CONTEXT_KEY,
applicationContext);        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        //...
    }
invoker-client.xml内容如下:
 
 
<?xml version="1.0" encoding="UTF-8"?> 
<beans xmlns="http://www.springframework.org/schema/beans"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.springframework.org/schema/beans 
  http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
  http://www.springframework.org/schema/security 
  http://www.springframework.org/schema/security/spring-security-2.0.4.xsd">
         <bean id="httpInvokerServiceProxy"  
              class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">
                  <property name="serviceUrl"  
                      value="http://192.168.0.130:9001/cms/invoker.service"/>           
                  <property name="serviceInterface"   
                      value="com.openktv.httpInvokerServer.HttpInvokerService"/>
         </bean>
</beans>
错误如下:
 11-08 11:33:16.492: ERROR/AndroidRuntime(430): org.springframework.beans.factory.BeanDefinitionStoreException: Parser configuration exception parsing XML from class path resource [invoker-client.xml]; nested exception is javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD: Your JAXP provider [org.apache.harmony.xml.parsers.DocumentBuilderFactoryImpl@40696b88] does not support XML Schema. Are you running on Java 1.4 with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.
11-08 11:33:16.492: ERROR/AndroidRuntime(430): Caused by: javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD: Your JAXP provider [org.apache.harmony.xml.parsers.DocumentBuilderFactoryImpl@40696b88] does not support XML Schema. Are you running on Java 1.4 with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.
11-08 11:33:16.492: ERROR/AndroidRuntime(430): Caused by: java.lang.IllegalArgumentException: http://java.sun.com/xml/jaxp/properties/schemaLanguage
另说明下我使用的是jdk版本是1.6,而google得到的信息多为jar包的错误,我加了xercesImpl.jar和xml-apis.jar这两个包进去,编译时又报以下错: Conversion to Dalvik format failed with error 1。而单独加其中一个进去的话运行时还是会报错。 
.classpath文件内容如下:
 <classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="lib" path="lib/spring-2.5.6.jar"/>
<classpathentry kind="lib" path="lib/spring-webmvc-2.5.6.jar"/>
<classpathentry kind="lib" path="lib/ejb3-persistence-1.0.2.GA.jar"/>
<classpathentry kind="lib" path="lib/hibernate-annotations-3.4.0.GA.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>大家有什么解决办法吗?