Windows7安装nginx后,'nginx -t -c nginx.conf' 命令出现 “could not open error log file: CreateFile() "logs/error.log" failed” 错误的原因
摘要:网上搜索安装nginx的方法,按照步骤在 "http://nginx.org/en/download.html" 下载了安装包,并配置了conf/nginx.conf,将nginx的根目录添加进了环境变量path中; 打开命令行,进入 'D:\nginx 1.15.3\conf' 目录,执行如下命令
阅读全文
posted @
2018-08-31 08:35
HorseShoe2016
阅读(20720)
推荐(2) 编辑
《Spring实战》-- 'cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element' 错误的解决办法
摘要:在Eclipse中新建了一个maven项目学习Spring,在 service.xml 中配置 Spring,想要学习‘面向切面的Spring’,service.xml 内容如下: 结果写 的时候,没有代码提示,而且总是出现错误提示: Multiple annotations found at th
阅读全文
posted @
2018-08-12 00:41
HorseShoe2016
阅读(13150)
推荐(0) 编辑
《Spring实战》第4章--面向切面的Spring--处理通知中的参数(经验总结)
摘要:今天学习《Spring实战》第4章《面向切面的Spring》,根据4.3.3小节写出如下切面类: 代码中 、、、 处,int型参数的名称都是trackNum,这样保证了从命名切点到通知方法的参数转移。并且,这里的参数trackNum与concert.JayPerform.playTrack(int
阅读全文
posted @
2018-08-11 23:13
HorseShoe2016
阅读(472)
推荐(0) 编辑