1. Unable to find main class
创建spring boot项目写自己的starterxi写完之后使用install出现Unable to find main class,这是因为spring boot打包需要一个启动类,按照以下写法就没事
<plugins><plugin><groupId>org.springframewo…
C/C陷阱——临时变量的产生和特性
在学习C常引用时,有这样一段代码引起了我的注意:
int a 1;
double& b a;当我编译这段代码时,竟然报错了: 按理来说,初始化引用时不能涉及权限的放大(如用const in…