tomcat启动提示cannot find the declaration of element 'web-app'
来源:互联网 发布:绝地求生优化差 编辑:程序博客网 时间:2024/04/29 18:38
以前正常的项目,这两天开始报错,刚开始报8080端口被占用,后来改了端口,然后就报xml validation disabel,改了server.xml中的xmlvalidation=ture。最后报cannot find the declaration of element 'web-app'。
今天问了同事,同事说是因为我们连的数据库服务器升级了,才导致工程不能用。在定义session-factroy的时候,
<property name=''hibernatepropeties">
<prop key="hibernte.hbm2ddl.auto">update</prop>
</property>
将上面的update改为none就可以了,不过得把第一次修改的xmlvalidation=false.这样工程可以正常启动
- tomcat启动提示cannot find the declaration of element 'web-app'
- Cannot find the declaration of element 'beans'
- Cannot find the declaration of element 'beans'
- Cannot find the declaration of element 'beans'
- Cannot find the declaration of element 'beans'
- Spring启动异常: cvc-elt.1: Cannot find the declaration of element 'beans'
- Spring启动异常: cvc-elt.1: Cannot find the declaration of element 'beans'
- Spring启动异常: cvc-elt.1: Cannot find the declaration of element 'beans'
- Spring启动异常: cvc-elt.1: Cannot find the declaration of element 'beans'
- spring项目启动报错 cvc-elt.1: Cannot find the declaration of element 'beans'.
- Spring启动异常: cvc-elt.1: Cannot find the declaration of element 'beans'(转)
- Spring启动异常: cvc-elt.1: Cannot find the declaration of element 'beans'(转)
- Cannot find the declaration of element 'beans'. 的解决方法
- Cannot find the declaration of element 'beans'. 的解决方法
- Cannot find the declaration of element 'beans'. 的解决方法
- cvc-elt.1: Cannot find the declaration of element 'ehcache'.
- cvc-elt.1: Cannot find the declaration of element 'beans'.
- spring框架 错误:Cannot find the declaration of element 'beans'.
- GDI+随便画画
- 命运
- CVS2.5.03版本的安装与配置及基本用法
- 浅析GLib
- 关于出现"出现了运行时间错误,是否要进行调试"的解决方法
- tomcat启动提示cannot find the declaration of element 'web-app'
- 一张图分出你是用左脑还是右脑!
- 提高IT人员绩效必须遵循的5条法则
- 流水线技术在高速数字电路设计中的应用
- vc++对类内const static int变量初始化后的处理
- 测试你的生命路线
- 发发牢骚(对现状不满,但现在还不能独挡一面)
- 页面刷新
- DELPHI 技巧 - 获取程序自身路径