出现这个异常说明了跳转页面的url无对应的值. 原因1: Application启动类的位置不对.要将Application类放在最外侧,即包含所有子包 原因:spring-boot会自动加载启动类所在包下及其子包下的所有组件. 原因2: 在springboot的配置文件:application.y ...
分类:
移动开发 时间:
2018-06-22 16:31:00
阅读次数:
304
>>> import thisThe Zen of Python, by Tim PetersBeautiful is better than ugly.Explicit is better than implicit.Simple is better than complex.Complex is ...
分类:
编程语言 时间:
2018-06-16 23:00:48
阅读次数:
226
部分参考地址https://blog.csdn.net/yanglingwell/article/details/56011576 auto_ptr是c++标准库里的智能指针,但是具有以下几个明显的缺陷,使用时要注意 1.就是所谓的控制权转移,下面是模拟代码 在赋值运算符重载和拷贝构造函数中将资源转 ...
分类:
其他好文 时间:
2018-06-09 13:28:29
阅读次数:
218
下面是 Go 支持的基本类型: bool Numeric Types int8, int16, int32, int64, int uint8,uint16,uin32,uint64, uint float32, float64 complex64, complex128 byte rune str ...
分类:
其他好文 时间:
2018-06-09 11:27:16
阅读次数:
213
Linux系统下,重启Tomcat使用命令操作的! 1、首先,进入Tomcat下的bin目录 1 cd /usr/local/tomcat/bin 1 cd /usr/local/tomcat/bin 1 cd /usr/local/tomcat/bin 1 cd /usr/local/tomcat ...
分类:
系统相关 时间:
2018-06-03 12:39:21
阅读次数:
156
7.1.4 构造函数 合成的默认构造函数 如果一个类没有显示的定义构造函数,编译器会隐式的定义一个默认构造函数。 7.5.4隐式的类类型转换 抑制构造函数定义的隐式转换 通过在构造函数前面加关键字 explicit 可以阻止隐式转换。 ...
分类:
其他好文 时间:
2018-05-29 01:47:49
阅读次数:
122
1.Beautiful is better than ugly. 优美胜于丑陋(Python以编写优美的代码为目标) 2.Explicit is better than implicit. 明了胜于晦涩(优美的代码应当是明了的,命名规范,风格相似) 3. Simple is better than ...
分类:
编程语言 时间:
2018-05-25 22:46:46
阅读次数:
301
使用JPA持久化对象的操作步骤: 1)创建persistence.xml,在这个文件中配置持久化单元: 需要指定跟哪个数据库进行交互; 需要指定JPA使用哪个持久化的框架以及配置该框架的基本属性。 2)创建实体类,使用annotation来描述实体类跟数据库表之间的映射关系。 3)使用JPA API ...
分类:
其他好文 时间:
2018-05-23 19:08:03
阅读次数:
196
https://www.guru99.com/handling-dynamic-selenium-webdriver.html here are two types of HTML tables published on the web- Below is an example of a dynam ...
分类:
编程语言 时间:
2018-05-23 13:06:32
阅读次数:
316
安装PythonIDE -Anaconda 打开subtext,通过快捷键 cmd+shift+P 打开 Package Control 来安装其他的插件了。 输入 install 然后你就能看见屏幕上出现了 Package Control: Install Package,点击回车然后搜索你想要的 ...
分类:
编程语言 时间:
2018-05-22 22:03:38
阅读次数:
364