=======================验证注解的使用需要引用名称空间:usingSystem.ComponentModel.DataAnnotations;--------------Required(不允许为空)案例:--模型代码:usingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Web;
usingSystem.Data.Entity..
分类:
Web程序 时间:
2015-01-09 19:34:39
阅读次数:
158
Gulp.js features its own built-in watch() method - no external plugin required----However, theArnagewillfeatureitsownuniquepowertrainandwill bestrictl...
分类:
其他好文 时间:
2015-01-09 12:09:41
阅读次数:
116
今天用eclipse调试程序,eclipse卡死,我就在任务管理器将eclipse任务结束了。结果重新打开eclipse时,启动tomcat时候一直报8080端口被占用如下错误:
Several ports (8080, 8009) required by Tomcat v6.0 Server at localhost are already in use. The server may alr...
分类:
其他好文 时间:
2015-01-08 18:12:10
阅读次数:
251
刚在机器上windows环境下装上pip方便以后安装包的时候使用,谁知道第一次使用pip安装asyncio的时候就报错。在Windows7x64下使用pip安装包的时候提示报错:Microsoft Visual C++ 9.0 is required (Unable to find vcvarsal...
分类:
编程语言 时间:
2015-01-08 14:49:15
阅读次数:
826
[OS] kaliwhen I use eclipse for luna, I got the message as below:Version 1.6.0_13 of the JVM is not suitable for this product. Version: 1.7 or greater...
分类:
其他好文 时间:
2015-01-08 13:09:49
阅读次数:
184
1.1. Spring整合jpa
1.1.1. 新建工程
1.1.2. 引入jar包
1. 所使用hibernat版本:hibernate-release-4.3.7.Final,Lib\jpa目录和lib\required目录下所有的jar包,
2. mysql驱动包
3. spring版本spring-framework-4.1.3.R...
分类:
编程语言 时间:
2015-01-08 09:46:01
阅读次数:
380
1.1. 新建一个java工程jpaDemo1
1.2. 在工程下新建一个lib文件夹,用来存放jar包
1.3. 引入下面的jar包
所使用hibernat版本:hibernate-release-4.3.7.Final
Lib\jpa目录和lib\required目录下所有的jar包,mysql驱动包
1.4. Src下新建META-INF目录
1.5. M...
分类:
其他好文 时间:
2015-01-08 09:45:58
阅读次数:
132
这个主要是用来记录自己在使用过程中遇到的一些小问题的,以后有问题慢慢加php出现Itisnotsafetorelyonthesystem’stimezonesettings.Youare*required*tousethedate.timezonesettingorthedate_default_timezone_set()function.Incaseyouusedanyofthosemethodsandyouarestillget..
分类:
其他好文 时间:
2015-01-07 19:00:57
阅读次数:
94
问题详情描述:
创建 IOS 静态库,运行时报错如下:
Check dependencies
CodeSign error: code signing is required for product type 'Unit Test Bundle' in SDK 'iOS 8.1'
解决办法:
一般搞东西都是在 项目的 Target 里搞东西,比如例子中的 DestationK...
分类:
移动开发 时间:
2015-01-07 13:17:55
阅读次数:
177
原先的邮件采用Content-Type: text/html下面是X-Spam的得分情况,当 score 超过6分就被当作垃圾邮件处理了X-Spam-Status: Yes, score=6.3 required=6.0 tests=CONTENT_TYPE_PRESENT, DIRECTUN...
分类:
Web程序 时间:
2015-01-06 19:40:22
阅读次数:
968