20****** 实验三《数据结构与面向对象程序设计》实验报告

20****** 实验三《数据结构与面向对象程序设计》实验报告

课程:《程序设计与数据结构》

班级: ******

姓名: ***

学号:******

实验教师:王*强

实验日期:2019年9月28日

必修/选修: 必修

1.实验内容

下载安装并使用IDEA,完成下面实验(https://www.cnblogs.com/rocedu/p/6371315.html)。

  1. 初步掌握单元测试和TDD

  2. 理解并掌握面向对象三要素:封装、继承、多态(自己去学!)

  3. 初步掌握UML建模

  4. 完成蓝墨云上 (1)-(5)实验。

2.实验过程及结果

3. 实验过程中遇到的问题和解决过程

  • 问题一:IDEA Error:Server SSL certificate rejected
    • Can't use Subversion command line client: svn Probably the path to Subversion executable is wrong. (无法使用SUB客户端:SVN)
    • 问题1解决方案:打开
Settings->Version Control->Subversion

<img src="https://img2018.cnblogs.com/blog/1779554/201909/1779554-20190928152858295-1485108667.jpg"width="90%" height="90%" />
先Clear Auth Cache清理缓存

选中Enbale interactive mode

git config --system https.sslverify

无任何提示弹出即可

  • 问题三:Cannot start compilation: the output path is not specified for module "Test". Specify the out
    • 问题三解决方案:
  1. 在Modules设置里勾选”Inherit project compile path
    <img src="https://img2018.cnblogs.com/blog/1779554/201909/1779554-20190928153834154-537231558.jpg"width="90%" height="90%" />
  2. 设置Project中的Project compiler output。
    选择”Project的路径”+”\out”
    <img src="https://img2018.cnblogs.com/blog/1779554/201909/1779554-20190928153903749-437304491.jpg"width="90%" height="90%" />
    将这两处改好后就能正常运行了。
package test.$entry.packageName; 

修改为:

package $entry.packageName; 

按照提示建立Create annotation即可。

  • 问题七:java.lang.Exception: Method all should have no parameters
    • 问题七解决方案:@Test不要带参数,比如说public void all(String path){}就要改成public void all(){}

其他(感悟、思考等)

参考资料

posted on 2019-09-28 15:48  Mr.Stark丿  阅读(264)  评论(0编辑  收藏  举报