04 2020 档案
Json字符串与Object对象相互转换的几种方式
摘要:Json-Lib、Org.Json、Jackson、Gson、FastJson五种方式转换json类型 只列举了最省事的方式。不涉及复制情况和速度。 测试用例,一个User类,属性name,age,location。重写toString()。 public class User { private
阅读全文
springboot发送邮件报错AuthenticationFailedException: 535 Login Fail. Please enter your authorization code to login. More information in http://service.mail.qq.com/cgi-bin/help?subtype=1&&id=28&&no=1001256
摘要:发送邮件的密码一定要填授权码,一长串字母,不是你邮箱的登录密码 报错信息: javax.mail.AuthenticationFailedException: 535 Login Fail. Please enter your authorization code to login. More in
阅读全文
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [C:\Users\86181\Desktop\0390\0390\assmchaoshicangku\out\artifacts\assmchaoshic
摘要:错误信息: - JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning - Context initialization failed org.springframework.beans.fa
阅读全文
严重: A request has been denied as a potential CSRF attack.
摘要:A request has been denied as a potential CSRF attack.” 在web.xml配置文件中修改dwr的配置: Xml代码 <servlet> <servlet-name>dwr-invoker</servlet-name> <servlet-class>
阅读全文