- 博客(11)
- 收藏
- 关注
原创 纯CSS实现消息对话框
纯CSS实现消息对话框 效果: 代码: <style> body { margin: 0; width: 800px; font-size : 100%; background: white; font-family: 'Raleway', sans-serif; font-size: 100%; } .test1 { float: left; max-width: ...
2020-04-09 13:59:37
1226
原创 图片存在tomcat的webapps中,能在myeclipse中显示,却不能在外部浏览器中显示,解决方案
本项目图片的保存地址:C:\Users\beibei\Workspaces\MyEclipse 2016 CI.metadata.me_tcat7\webapps\Test\uploadfiles 打开server.xml 在中插入 <Context path="/upload" docBase ="C:\Users\beibei\Workspaces\MyEclipse 2016 CI...
2020-03-28 00:18:56
422
原创 CSS实现div淡入淡出
CSS实现div淡入淡出 css文件 #info{ display: none; top: 10%; left: 32%; width: 55%; height: 65%; background-color: white; z-index: 1002; overflow: auto; animation: anim 2s; } @keyframes anim { 0% {op...
2020-02-01 12:22:48
9307
原创 Exception fixing docBase for context [/springProject_war]
19-Jul-2019 10:34:55.257 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.startup.ContextConfig.beforeStart Exception fixing docBase for context [/springProject_war] java.io.IOException: Unabl...
2019-07-19 10:37:40
813
原创 node to traverse cannot be null!
node to traverse cannot be null! update的语句写错 Query query = session.createQuery(“update Boxes b set b.src = :m and b.state=:s where id = :n”); 改为 Query query = session.createQuery(“update Boxes b set b...
2019-07-07 19:13:08
128
原创 数据库定时自动执行sql语句
1.Event事件是否开启: show variables like ‘%sche%’; 如果没有开启: set global event_scheduler =1; 开启数据库 2.新建事件 CREATE EVENT test ON SCHEDULE EVERY 1 DAY STARTS ‘2019-07-07 15:00’ DO DELETE FROM moment WHERE moment...
2019-07-07 15:03:05
4175
原创 org.apache.jasper.JasperException: /base.jsp (line: 1, column: 2) Page directive: illegal to have mu
org.apache.jasper.JasperException: /base.jsp (line: 1, column: 2) Page directive: illegal to have multiple occurrences of contentType with different values (old: text/html; charset=utf-8, new: text/ht...
2019-07-05 20:11:20
281
原创 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘Order (book_id, orderdate, user_id) values (3, ‘2019-07-04 20:21:...
2019-07-04 20:28:35
212
原创 The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collectio
The content of element type “session-factory” must match “(property*,mapping*,(class-cache|collection- cache),event,listener*)”. property不能写在mapping下面
2019-07-04 16:08:40
164
原创 hibernate 从数据库更改数据必须重启服务器才能把数据更新到页面 解决
hibernate 从数据库更改数据必须重启服务器才能把数据更新到页面 在hibernate.cfg.xml中 <property name="hibernate.connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property> <...
2019-07-04 15:24:25
660
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅