备份mysql数据库或表
命令 mysqldump
常用参数详解
1 | -u 用户名 |
https://blog.csdn.net/lianghe_work/article/details/47340141
1 | ll@ubuntu:~$ sudo apt-get install openssh-server |
解决办法 sudo apt-get install openssh-client=1:7.2p2-4ubuntu2.8
执行以上命令后在执行安装就可以了, 不过要和以上报错的版本对应
1 | <!-- 加一句去一句 --> |
1 | vi /etc/ssh/sshd_config |
@RunWith(SpringJUnit4ClassRunner.class)
使用Spring的单元测试模块来执行标了@Test的测试方法
好处是不需要获取Bean
1 | @ContextConfiguration(locations="classpath:ioc.xml") |
如果IOC容器这个类型的bean有多个,查找会报错
报错org.springframework.beans.factory.NoUniqueBeanDefinitionException
1 | /*Person bean = ioc.getBean(Person.class); |
Update your browser to view this website correctly. Update my browser now