日期:2014-05-20  浏览次数:21082 次

找不到 org.springframework.test.AbstractTransactionalDataSourceSpringContextTests;

import org.springframework.test.AbstractTransactionalDataSourceSpringContextTests??

<script type="text/javascript"> document.body.oncopy = function() { if (window.clipboardData) { setTimeout(function() { var text = clipboardData.getData(&quot;text&quot;); if (text &amp;&amp; text.length &gt; 300) { text = text + &quot;\r\n\n本文来自CSDN博客,转载请标明出处:&quot; + location.href; clipboardData.setData(&quot;text&quot;, text); } }, 100); } } </script><script type="text/javascript"> function StorePage() { d = document; t = d.selection ? (d.selection.type != 'None' ? d.selection.createRange().text : '') : (d.getSelection ? d.getSelection() : ''); void (keyit = window.open('http://www.365key.com/storeit.aspx?t=' + escape(d.title) + '&amp;u=' + escape(d.location.href) + '&amp;c=' + escape(t), 'keyit', 'scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes')); keyit.focus(); }</script>

找不到 org.springframework.test.AbstractTransactionalDataSourceSpringContextTests;

下载springmock.jar

http://www.java2s.com/Code/Jar/Spring-Related/Downloadspringmockjar.htm

找不到javax.servlet.http.HttpServletResponse,下载:servlet-api.jar

http://www.java2s.com/Code/Jar/Spring-Related/Downloadservletapijar.htm

找不到:org.jmock.integration.junit4.JMock; org.jmock.Expectations;

参考文章:http://www.jmock.org/getting-started.html

下载:jmock-2.5.1.jar

http://imaso.afternoonsun.net/project/browser/trunk/lib/jmock/jmock-2.5.1.jar?rev=50