JSR303校验
P36 mavne依赖
<dependency>
<groupId>org.thymeleaf.extras</groupId>
<artifactId>thymeleaf-extras-springsecurity5</artifactId>
<version>3.0.4.RELEASE</version>
</dependency>
xmlns:sec="http://www.thymeleaf.org/extras/spring-security" 就有提示了
https://getbootstrap.com/docs/4.0/examples/
P38,Quickstart报错,查了好久,发现是factory方法过时了,新版本会有一场
需要将这两行代码
Factory<SecurityManager> factory = new IniSecurityManagerFactory("classpath:shiro.ini");
SecurityManager securityManager = factory.getInstance();
替换为
DefaultSecurityManager securityManager = new DefaultSecurityManager();
IniRealm iniRealm = new IniRealm("classpath:shiro.ini");
securityManager.setRealm(iniRealm);
最终结果和狂神视频一样
p32:
#SpringBoot默认是不注入这些的,需要自己绑定
#druid数据源专有配置
initialSize: 5
minIdle: 5
maxActive: 20
maxWait: 60000
timeBetweenEvictionRunsMillis: 60000
minEvictableIdleTimeMillis: 300000
validationQuery: SELECT 1 FROM DUAL
testWhileIdle: true
testOnBorrow: false
testOnReturn: false
poolPreparedStatements: true
#配置监控统计拦截的filters,stat:监控统计、log4j:日志记录、wall:防御sql注入
#如果允许报错,java.lang.ClassNotFoundException: org.apache.Log4j.Properity
#则导入log4j 依赖就行
filters: stat,wall,log4j
maxPoolPreparedStatementPerConnectionSize: 20
useGlobalDataSourceStat: true
connectionoProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=500
spring-boot-starter-thymeleaf
2.2.1版本 默认集成如下依赖
<dependency>
<groupId>org.thymeleaf</groupId>
<artifactId>thymeleaf-spring5</artifactId>
<version>3.0.11.RELEASE</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.thymeleaf.extras</groupId>
<artifactId>thymeleaf-extras-java8time</artifactId>
<version>3.0.4.RELEASE</version>
<scope>compile</scope>
</dependency>
可以整合在一个文件中
当然有bai用,基本上,计算机方面du,国内,计算机技术与zhi软件专业技术资格认证(就是dao包括软件设计师的那zhuan套shu)仅次于国家计算机等级考试认证,而实际上,等级考试也只有三级四级才有用.实用度可以这样排列:全国四级,技术与软件专业资格认证,全国三级,其他都没有什么意义了
不过若加上国外的,........他们就都排后面了.
看你是走程序设计方向的,那么只说说这个方向的认证,那就是微软的认证,从全球角度来说,设计方面的证书排行是:微软,全国四,软考,全国三
所以还是建议你考出个微软的比如MCAD
对于你的专业,我建议.net和数据库都要掌握,你可以采取考一个微软office系列的access专家证书