1.配置文件上传的解析器 首先需要在spring mvc的配置文件中(注意是spring mvc的配置文件而不是spring的配置文件:applicationContext.xml)配置: springmvc-config.xml <!-- 文件上传bean--> <bean id="multipa ...
分类:
编程语言 时间:
2019-12-16 20:55:22
阅读次数:
222
Archive for required library: 'C:/Users/Administrator/.m2/repository/org/apache/hadoop/hadoop-hdfs/2.7.3/hadoop-hdfs-2.7.3.jar' in project 'MyMapReduc ...
分类:
其他好文 时间:
2019-12-15 12:59:51
阅读次数:
119
01-SpringMVC的数据响应-数据响应方式(理解) 1) 页面跳转 直接返回字符串 通过ModelAndView对象返回 2) 回写数据 直接返回字符串 返回对象或集合 02-SpringMVC的数据响应-页面跳转-返回字符串形式(应用) 03-SpringMVC的数据响应-页面跳转-返回Mo ...
分类:
编程语言 时间:
2019-12-14 15:34:11
阅读次数:
93
web.xml is missing and <failOnMissingWebXml> is set to true 是因为项目中没有web.xml文件, 步骤如下: ...
分类:
Web程序 时间:
2019-12-14 11:59:07
阅读次数:
164
本文主要讲解Thrift的序列化机制, 看看thrift作为数据交换格式是如何工作的?1.构造应用场景:1). 首先我们先来定义下thrift的简单结构.12345namespace java com.yangyang.thrift.apistruct Pair { 1: required stri... ...
分类:
其他好文 时间:
2019-12-14 09:45:57
阅读次数:
100
vue-router.esm.js?8c4f:16 [vue-router] missing param for named route "magneto.xmqsDx.edit": Expected "id" to be defined 造成这种警告的原因是因为路由里面绑定了一个id,而路由在pa ...
分类:
Web程序 时间:
2019-12-12 18:08:12
阅读次数:
340
如下的 schema 定义了每行是一个组合类型Document:(required表示必须有,optional表示可选,repeated表示可重复的,即数组(数组长度可以是0)。group类似于struct) message Document { required int64 DocId; opti ...
分类:
其他好文 时间:
2019-12-12 14:55:03
阅读次数:
105
C++ 改成C语言接口时,build遇到错误如下: /usr/bin/ld: objs/addon/src/KeepAliveNotify.o: undefined reference to symbol '_ZNKSs5c_strEv@@GLIBCXX_3.4'/usr/local/lib64/l ...
分类:
其他好文 时间:
2019-12-12 14:45:32
阅读次数:
114
AliYun-sms pip3 install geetest 网址 pip3 install requests https://www.aliyun.com/ pip3 install aliyun-python-sdk-core 一、使用详情: 第1步:访问阿里云网址,免费开通 第2步:查看新手 ...
分类:
其他好文 时间:
2019-12-11 23:43:26
阅读次数:
250
1、通过 props<x-test :name="username"></x-test>1)props为字符串数组 props: ['name']2)props为对象,可配置type,default(Number类型),required(String类型),validator验证props:{ na ...
分类:
其他好文 时间:
2019-12-11 21:57:59
阅读次数:
95