摘要: 使用IntelliJ Maven生成archetype时候,偶然会出现xml文件的头定义提示错误 URI is not registered 例如: 解决方法: 鼠标点击红色字,然后Intellij出现小红灯,选择Fetch external resource即可解决 阅读全文
posted @ 2017-09-17 08:40 AlexanderTheGreat 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-09-17 07:16 AlexanderTheGreat 阅读(88) 评论(0) 推荐(0) 编辑
摘要: archetypeCatalog=internal -DarchetypeCatalog=internal 阅读全文
posted @ 2017-09-16 14:50 AlexanderTheGreat 阅读(92) 评论(0) 推荐(0) 编辑
摘要: SELECT ep1.*,ep2.name AS name1,ep3.name AS name2,ep4.name AS name3FROM easybuy_product AS ep1,easybuy_product_category AS ep2,easybuy_product_category 阅读全文
posted @ 2017-09-01 14:02 AlexanderTheGreat 阅读(1316) 评论(0) 推荐(0) 编辑
摘要: public class MyHashMap { public static void main(String[] args) { UserInfo u1 = new UserInfo(); u1.setAge(10); u1.setName("张三"); UserInfo u2 = new UserInfo(); ... 阅读全文
posted @ 2017-08-29 09:00 AlexanderTheGreat 阅读(705) 评论(0) 推荐(0) 编辑
摘要: 有时候下载了页面模板,需要把html文件改为jsp文件。那么这个时候该怎么做呢。 对于一长溜的html文件,如果一个一个去改,肯定很麻烦。 所以我们放一个大招,来把这一长溜的Html文件一键改为jsp文件。 先来新建一个txt文件,名字无所谓。 然后在里面写上这么一段话。 意思是将所有html文件r 阅读全文
posted @ 2017-08-28 10:03 AlexanderTheGreat 阅读(937) 评论(0) 推荐(0) 编辑
摘要: 1. 建表时加上唯一性约束CREATE TABLE `t_user` ( `Id` int(11) NOT NULL AUTO_INCREMENT, -- 自增 `username` varchar(18) NOT NULL unique, -- 唯一性约束 `password` varchar(1 阅读全文
posted @ 2017-08-24 16:18 AlexanderTheGreat 阅读(2148) 评论(0) 推荐(0) 编辑
摘要: 在startup/connection页设置JAVA_TOOL_OPTIONS为-Dfile.encoding=UTF-8 另外还需要修改IDEA的安装目录下:JetBrains\IntelliJ IDEA 2016.3\bin中配置文件idea.exe.vmoptions, 在该文件中最后面加上: 阅读全文
posted @ 2017-08-16 18:25 AlexanderTheGreat 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 在文件中点击右键,选择MyEclipse >Exclude From validation 阅读全文
posted @ 2017-08-04 10:25 AlexanderTheGreat 阅读(808) 评论(0) 推荐(0) 编辑
摘要: 目录: // 附加: 变量命名规则 第一章:类和对象 1.1 对象 1.2 类 1.3 Java是面向对象的语言 第二章:类的无参,带参方法 2.1 类的方法概述 2.2 变量的作用域 2.3 面向对象编程 2.4 JavaDoc注释 2.5 带参方法 2.6 深入理解带参方法 2.7 包 第三章: 阅读全文
posted @ 2017-07-31 00:14 AlexanderTheGreat 阅读(626) 评论(0) 推荐(0) 编辑