10 2017 档案

mockito简单教程
摘要:什么是Mockito? 官网解释: Mockito is a mocking framework that tastes really good. It lets you write beautiful tests with a clean & simple API. Mockito doesn’t 阅读全文

posted @ 2017-10-29 17:44 哆啦任意门 阅读(1670) 评论(0) 推荐(0)

Tomcat解压版安装
摘要:1.下载 首先下载Tomcat https://tomcat.apache.org/download-90.cgi 2.配置JAVA_HOME 和 JRE_HOME 进入tomcat安装路径 3.跑命令 service.bat install 4.在这个目录下面 跑startup.bat 可以看到一 阅读全文

posted @ 2017-10-27 23:31 哆啦任意门 阅读(342) 评论(0) 推荐(0)

Struts 关联DTD 文件
摘要:Struts 的xml 文件在Eclipse 中 默认是不会有提示的。 但是我们可以关联DTD 文件, 这样子就可以出现如下的struts 提示了 1. 首先得先确保自己有Struts2 的Src 包 如果没有可以在下面网站进行下载 http://struts.apache.org/download 阅读全文

posted @ 2017-10-08 22:56 哆啦任意门 阅读(361) 评论(0) 推荐(0)

java.lang.NoClassDefFoundError: org/apache/jsp/Index_jsp
摘要:今天在启动Tomcat 后发现出现了这个错误 先说一下背景,因为之前将index.jsp 写成了Index.jsp, 但是我有做了Server 的clean 操作, 似乎没有用处,仍然还是这样子。 然后还有个办法 就是把tomcat/work中对应的文件删除,重新运行启动服务器就OK了。 不过首先要 阅读全文

posted @ 2017-10-07 15:18 哆啦任意门 阅读(2667) 评论(0) 推荐(0)

Could not obtain transaction-synchronized Session for current thread
摘要:Could not obtain transaction-synchronized Session for current thread 阅读全文

posted @ 2017-10-04 21:34 哆啦任意门 阅读(1437) 评论(0) 推荐(0)

导航