14

3月

最近整理项目框架,配置映射的时候经常出错,因为是改的旧程序,所以总结一下出错的几个地方:
Web.xml struts配置文件路径错误 servlet路径错误
struts-config.xml 与action对应错误
hibernate.cfg.xml 主要是把所有的映射的mapping的错误
XXXXXXXXX.hbm.xml 与表的对应,与字段的对应,与pojo里的对应
最后还有读取hibernate配置文件路径的问题。

这几天大概碰到的这些问题,ms有点多,但都值得注意。
评论(0) | 引用(0) | 阅读(355)
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]