class Main { public static void main(String[] args) { b bb = new b(); } } class a{ // a(){ 注释我会报错 // System.out.println("a"); // } a(int a){ System.ou ...
分类:
编程语言 时间:
2021-06-02 13:54:11
阅读次数:
0
MyBatis_Plus 代码生成器 开启Mapper接口扫描 @Configuration @EnableTransactionManagement @MapperScan("com.hu.mylearn.mapper") public class MyBatisPlusConfig { // 旧 ...
分类:
其他好文 时间:
2021-06-02 13:39:52
阅读次数:
0
统计矩阵center中重复的行的个数: [C,~,n]=unique(center,'rows'); s=sum(bsxfun(@eq,n,unique(n)')); unique函数的作用是去除掉重复的行,C为center去掉重复行之后剩余的矩阵,s为行向量,s某一位置的值代表C对应行在cente ...
分类:
其他好文 时间:
2021-06-02 13:18:02
阅读次数:
0
一、mysql的安装 1,安装环境:centos 7.4 ,MySQL安装包:mysql-8.0.19-1.el7.x86_64.rpm-bundle.tar ,两台服务器的IP分别为:192.168.112.129 ;192.168.112.130 分别安装下MySQL 2,解压MySQL的安装包 ...
分类:
数据库 时间:
2021-06-02 13:16:45
阅读次数:
0
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System. ...
1、filter,这是java的过滤器,和框架无关的,是所有过滤组件中最外层的,从粒度来说是最大的。 配置方式,有直接实现Filter+@component,@Bean+@configuration(第三方的filter) 2、interceptor,spring框架的拦截器 配置方式,@confi ...
分类:
Web程序 时间:
2021-06-02 13:00:20
阅读次数:
0
一、环境 *centos7.6 二、安装步骤 *设置yum源 yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo yum-config-manager --add-repo htt ...
分类:
其他好文 时间:
2021-06-02 12:47:47
阅读次数:
0
一、报错信息 Error:Maven Resources Compiler: Maven project configuration required for module 'XX(项目名)' isn't available. Compilation of Maven projects is sup ...
分类:
其他好文 时间:
2021-06-02 12:26:11
阅读次数:
0
1.修改远程访问限制: 修改webapps/manager/META-INF/context.xml和webapps/host-manager/META-INF/context.xml,在<Context>下<Value>属性,可看到allow属性,它用正则表达式表示,默认仅允许本机访问,例如可修改 ...
分类:
其他好文 时间:
2021-06-02 12:03:01
阅读次数:
0
public static void main(String[] args) { int[] arr = {4, 2, 5, 9, 1, 6, 8}; boolean flag = false; for (int i = 1; i <= arr.length; i++) { System.out.p ...
分类:
编程语言 时间:
2021-06-02 11:59:30
阅读次数:
0