摘要: 服务端配置 实现类的bean定义 service name :类似请求url service:远程的调用的类 infterface:远程调用的接口类 registerport:远程调用网络连接端口 客户端配置: 配置 rmiproxyfactorybean service url rmi:http: 阅读全文
posted @ 2018-06-26 12:34 2年又2年 阅读(64) 评论(0) 推荐(0) 编辑
摘要: mvc ==================web.xml======================================= springDispatcherServlet org.springframework.web.servlet.DispatcherServlet contextConfigLocation classpath... 阅读全文
posted @ 2018-04-08 19:48 2年又2年 阅读(283) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 阅读全文
posted @ 2018-03-27 05:36 2年又2年 阅读(192) 评论(0) 推荐(0) 编辑
摘要: main 函数的参数有连个argc argcv[] argc 是参数个数 argcv是参数的数组指针,且argcv的第一个参数是默认程序路径加程序名 给main传参数,需要在命令行启动程序时设置 如 a.exe a b c 那么argc 为4, argcv 0 是path\a.exe [1] 是a 阅读全文
posted @ 2016-09-16 12:55 2年又2年 阅读(1097) 评论(0) 推荐(0) 编辑
摘要: 1、 gcc -g xxx -o xx 编译时加-g选项 2、 gdb xxx 3、 b 行号打断点, c 继续 n 单步 p打印变量 阅读全文
posted @ 2016-09-16 12:39 2年又2年 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 1、打开vim 输入 :echo $VIM 查看vim路径 一般是/use/share/vim 2、sudo vim vimrc 打开配置文件,G到文件末尾 3、 插入 :set number 保存推出 阅读全文
posted @ 2016-09-16 12:33 2年又2年 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 这个问题的原因可能是有另外一个程序正在运行,导致资源被锁不可用。而导致资源被锁的原因,可能是上次安装时没正常完成,而导致出现此状况。 解决方法:输入以下命令 sudo rm /var/cache/apt/archives/lock sudo rm /var/lib/dpkg/lock 之后再安装想装 阅读全文
posted @ 2016-09-16 11:45 2年又2年 阅读(115) 评论(0) 推荐(0) 编辑