通过Build path-->configure build path-->add Library-->user library-->New-->...-->add jars导入spring-2.5.6.jar和spring-webmvc-2.5.6.jar.jar文件是放在工程目录下的。
在以下代码处发生错误:
ApplicationContext applicationContext = new ClassPathXmlApplicationContext(
"invoker-client.xml");11-16 07:11:57.685: ERROR/AndroidRuntime(1555): java.lang.NoClassDefFoundError: org.springframework.context.support.ClassPathXmlApplicationContext试过新建libs 文件夹,包放到这个目录下,右键 Build Path -> Use as source folder,编译不通过;
把jar文件放在assets目录下也不行;
project-->clean-->...也不行。有碰到过这种情况的吗,请教解决办法?