关于Spring+JPA,applicationContext.XML配置的问题,请前辈们可以帮忙解答一下。 本帖最后由 lunererer 于 2009-09-26 11:55:38 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 把/WEB-INF/applicationContext.xml文件的schema声明改成一下这样的<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd"> 改过了,还是一样。不知道您找出什么错误了么?这会是和tomcat有关么?或者是其它原因? 我从没遇见过这个错误啊 我部署完项目一点问题都没有 我也不太清楚是否和tomcat有关,要不然你从新解压缩一个绿色版的tomcat? 我感觉和tomcat有关系。我装了个tomcat运行后跑一样的程序(虽然程序本身有问题),新tomcat启动时不会出现那样的错误。谢谢您了。 怎么就空指针异常了呢 窗口切换问题 ibatis 数据操作 在jsp站点中怎么通过在地址栏输入"www.xxx.com/用户名"的形式进入该用户个人主页? hql支持这样的表达吗? spring何时调用applicationcontext.xml文件? jbuilder中调试一个类文件后,用不用重启jbuilder自带的tomcat服务? 往pdf文件写入中文的问题(送100分) 请问如何将jb9+tomcat+jboss组合起来? JAVA,给SSH每一框架的练习题(初学者) 关于struts2.1.6的模型驱动问题,满意后立即给分 ssh项目jar包N多,又不知道哪些是不是必须的
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-2.5.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd">
我从没遇见过这个错误啊 我部署完项目一点问题都没有 我也不太清楚是否和tomcat有关,要不然你从新解压缩一个绿色版的tomcat?