Hibernate 5.3.0 使用SchemaExport 生成数据表 代码报错 The constructor SchemaExport(Configuration) is undefined

摘要: 没有这个构造函数,源代码只有空参构造函数。 上述代码是以前的写法 hibernate5.3.0 这么写 参考:https://blog.csdn.net/qinshijangshan/article/details/53314230 阅读全文
posted @ 2018-05-02 20:04 HuTaoYing 阅读(510) 评论(0) 推荐(0) 编辑

struts 使用通配符方式访问action时,出现HTTP Status 404 - There is no Action mapped for namespace [/] and action name [hello_add] associated with context path [/StrutsDemo].

摘要: 那些年踩过的struts坑之今生无悔系列....... 还是原来的配方,还是熟悉的味道, struts.xml配置 HelloAction类为: 看了很多大大的文章 原来是struts2.5 为了提升安全性,添加了 allowed-method这个标签 刚开始,我是在里面用了具体的方法做测试, 证明 阅读全文
posted @ 2018-04-27 00:46 HuTaoYing 阅读(264) 评论(0) 推荐(0) 编辑

struts.xml web.xml配置正常,访问action时出现404

摘要: 工程项目部署成功,能访问默认页面 action 一出来 挂了.... 工程结构 web.xml <?xml version="1.0" encoding="UTF-8"?><web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" x 阅读全文
posted @ 2018-04-26 16:22 HuTaoYing 阅读(1926) 评论(0) 推荐(0) 编辑

Android studio 导入新工程时:install repository and sync project show in file

摘要: 出现这个提示,编译一下,查看错误的具体信息。或者rebuild project 不用想了,反正这个时候肯定是build failed 在app的build.gradle下修改 原设置: 修改后的设置: 编译后:出现红色的提示信息不用管。 注:自己学习过程中的笔记,供自己查阅用,比较随意。 阅读全文
posted @ 2018-02-12 14:06 HuTaoYing 阅读(3069) 评论(0) 推荐(0) 编辑