1. 当连接SSL server时出现下面的错误,这是因为当你的application试图通过SSL连接另一个application时(HTTPS,IMAPS,LDAPS),它只能够连接它信任的application。信任的方法就是使用的trust store里导入对应的certificate, 或者certificate是被它信任的known CA签发的。通常在$JAVA_HOME/lib/security/cacerts这个默认的truststore中。 javax.net.ssl.SS ...

    阅读全文
  2. 如何导出certificate? 方法1)  通过浏览器导出证书,这个功能好像firefox比较简单,Chrome和safari找起来比较麻烦。 firefox->url(https://www.google.com)->click "i(nformation)"->more information->view Certificate->Details->Export即可。 方法2) 还可以通过下 ...

    阅读全文
  3. “青少儿编程”的概念,起源于麻省理工(MIT)推出的“可编程式积木”(Scratch)平台,使用者不需要了解编程,只需拖拽事先封装好的积木式模块,“搭建”出指令,设置或控制角色及其行动和变化即可。这个过程中,可以培训儿童的逻辑思维能力、创造力和解决问题的能力,能让儿童启发发现问题、分析问题和解决问题的系统性思考能力。同时,MIT针对幼儿(5-7岁)推出了更适合他们的编程平台——Scratchjr,相较 ...

    阅读全文
  4. 启动Tomcat8.5.11时遇到下面的异常: org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 19 at org.apache.tomcat.util.bcel.classfile.Constant.readConstant(Constant.java:131) at org.apache.tomcat.util.bcel. ...

    阅读全文
  5. Raft是一种共识(consensus)算法。解决分布式系统的一致性问题的算法之一。 学习Raft算法,收集几个不错的文章和网站: raft算法动画演示: http://thesecretlivesofdata.com/raft/ raft算法官方:https://raft.github.io/ 《Zookeeper:分布式系统入门到实战》https://www.youtube.com/watch?v=BhosKsE8up8   分布式系统有一 ...

    阅读全文
  6. Imperatives Imperatives - 命令式 动词的命令式用于提出要求或发出命令。 在英语中,命令式由不带 to 的不定式构成,对于所有的人称形式相同。   例如: Go home!   (回家!)   Take a seat!   (坐下!) 其否定式由助动词 ...

    阅读全文
  7. Apache Shiro是一个应用程序安全框架(Application security framework). 提供了4个安全支持: authentication, authorization, enterprise session management and cryptography。 Shiro产生的背景http://shiro.apache.org/what-is-shiro.html。 JAAS提供了authentication, authorization. ...

    阅读全文
  8. Spring的application.properties (application.yml)的属性值参考 https://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html  # =================================================================== # COMMON SP ...

    阅读全文
  9. 在使用spring boot 来new一个springApplication时会读取classpath中的 META-INF/spring.factories中定义的Spring Factories. 比如ApplicationContextInitializers和ApplicationListeners. 下面是spring-boot-2.1.6.RELEASE.jar中默认的spring.factories # PropertySource Loaders org.spring ...

    阅读全文
  10. Spring configuration property的优先级官方说明:https://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#boot-features-external-config Externalized Configuration Spring Boot lets you externalize your configuration so that you can ...

    阅读全文
12345