03 2017 档案

摘要:昨天看了一篇tomcat设置的文章,说要把第一个勾上,这样不需要更新到tomcat. 一启动tomcat就发现丢包。后来在网上看了许多文章,说要update maeven项目,然后你就会发现启动过程报如下错误: Java.lang.ClassNotFoundException: org.spring 阅读全文
posted @ 2017-03-21 10:04 SKYisLimit 阅读(5367) 评论(0) 推荐(0)
摘要:严重: Failed to process JAR found at URL [/StudentLeave] for ServletContainerInitializers for context with name [{1}] java.io.IOException: java.lang.Cla 阅读全文
posted @ 2017-03-20 14:57 SKYisLimit 阅读(3548) 评论(0) 推荐(0)
摘要:如:<img width="800" height="600" src="#"/> 不加后面的px; #center{ height:200px; background:#F00; width:400px; vertical-align:middle; line-height:200px; } 加p 阅读全文
posted @ 2017-03-08 15:01 SKYisLimit 阅读(1272) 评论(0) 推荐(1)
摘要:HTML中的href和src有什么区别? 加载js的时候,用到的是<script style='text/javascript' src='js/demo.js'></script>加载css的时候,用到的是<link rel="stylesheet" href="css/demo.css"/>一个 阅读全文
posted @ 2017-03-08 14:16 SKYisLimit 阅读(1323) 评论(0) 推荐(0)
摘要:作者:Octocat链接:https://www.zhihu.com/question/21950864/answer/89835520来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 “URI可以分为URL,URN或同时具备locators 和names特性的一个东西 阅读全文
posted @ 2017-03-08 14:01 SKYisLimit 阅读(235) 评论(0) 推荐(0)
摘要:由于每天生成的日志文件比较多,可以分表保存,每个月自动生成下个月的表(使用spring定时器,案例用的是xml配置,现在都是用注解配置)。 考虑到上线时的意外,在项目初始化的时候就生成下2个月的表,使用监听器。里面复制表的语句有判断是否表存在。 动态生成表名的方法可以参考一下。这样log的查询和插入 阅读全文
posted @ 2017-03-02 12:34 SKYisLimit 阅读(202) 评论(0) 推荐(0)
摘要:<!-- aop事务配置 --> <aop:config> <!-- 事务切入点 --> <aop:pointcut expression="execution(* *..*Service.*(..))" id="txPointcut"/> <!-- 日志切入点 --> <aop:pointcut 阅读全文
posted @ 2017-03-01 23:03 SKYisLimit 阅读(170) 评论(0) 推荐(0)