随笔分类 - 开发
总结开发中遇到的一些错误
摘要:今天利用PriorityQueue实现最大堆,写了一个bug。 原始写法: 用lambda简化后: 注意到,这里o2 o1是会产生溢出的,会导致结果不正确。 所以采用这种写法更好: 用lambda简化后: 即
阅读全文
摘要:首先 pom.xml 是必要的 然后在该文件上右击 add as maven project
阅读全文
摘要:settings里java compiler改成正确版本 project structure里同样如此
阅读全文
摘要:解决办法参考https://segmentfault.com/a/1190000010984731?utm_source=tag newest npm uninstall node sass npm i node sass sass_binary_site=https://npm.taobao.or
阅读全文
摘要:https://plugins.jetbrains.com/ 找对应版本的插件
阅读全文
摘要:{ "timestamp": 1579256897101, "status": 404, "error": "Not Found", "message": "No message available", "path": "/tmallgenie/getResponse" } Application启
阅读全文
摘要:Caused by: com.mysql.cj.core.exceptions.WrongArgumentException: Unable to load authentication plugin 'caching_sha2_password'. at sun.reflect.NativeCon
阅读全文
摘要:项目pull后的问题: import lombok.Getter; import lombok.Setter; @Setter @Getter public class ConcreteEntity extends Entity { // 具体属性 } 一个Entity类使用lombok插件,找不到
阅读全文