11 2020 档案
摘要:junit 单元测试报java.lang.NoClassDefFoundError: org/hamcrest/SelfDescribing 解决方案:补全jar包 可以在idea的安装目录中找 junit-4.12.jar + hamcrest-core-1.3.jar
阅读全文
摘要:spring application context in module springmvc-6.file is included 4 contexts 在springmvc.xml报出了这个错误 解决方法: 应该是编译器自动导入配置文件的时候发生了某些错误 依次打开 Project Structu
阅读全文
摘要:设置Tomcat的 VM Options的值为:-Dfile.encoding=UTF-8
阅读全文
摘要:新建DevExpress窗体 SQLServer数据库中的数据如下: 拖入XtraTabControl控件,并修改Text属性 分别拖入GridControl控件和ChartControl控件 在GridControl控件中点击Run Designer,添加三列数据并分别设置FieldName(与数
阅读全文
摘要:1、打开计算机管理 2、点击事件查看器->自定义视图->管理事件 3、双击管理事件里面的警告事件,打开它, 4、点击详细信息 5、记住上面的进程ID,然后打开任务管理器,找到刚才的那个进程,鼠标右键后点击结束进程树。
阅读全文
摘要:1、打开设备管理器 2、卸载USB大容量存储设备 3、重新插入硬盘即可
阅读全文
摘要:where筛选方法 筛选出集合中的所有偶数并取平方 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespac
阅读全文
摘要:多个Y轴的分析(上边是ChartControl控件、下边是GridControl控件) 数据库表结构:现在的想法是将员工编号、基本工资和所属部门编号显示在折线图中,现查询 窗体布局如下: 代码如下: using System; using System.Collections.Generic; us
阅读全文
摘要:1、创建一个Dev窗体 2、拖入TreeList控件 3、先不查数据库显示数据 新建Car实体类 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Th
阅读全文
摘要:1、新建一个DevExpress窗体(不要用WinForm窗体) 2、拖入一个chartcontrol控件 3、鼠标右键,点击run designer 添加两个series 4、代码设置 数据库表结构,我的想法是统计办事员和售货员的人数 数据库查询语句 select job,count(empno)
阅读全文