摘要: 本文基于方志朋先生的博客实现:https://blog.csdn.net/forezp/article/details/70233227 一、准本工作 1、工具:Idea,JDK1.8,Maven3.5 2、创建四个model,名字分别为eurserver(服务注册中心),service-hi(实现 阅读全文
posted @ 2018-06-12 12:02 今天不打怪 阅读(3148) 评论(0) 推荐(1)
摘要: 请求地址:http://localhost:8080/saveFlashSale?fsRemark=哈哈哈哈哈 接收方法:@RequestMapping("/saveFlashSale") public Msg saveFlashSale(FlashSale sale) 分析:在接收了的时候就是乱码 阅读全文
posted @ 2018-05-28 10:01 今天不打怪 阅读(2367) 评论(0) 推荐(0)
摘要: 1.导致问题原因:从装系统,从win7改到win10 由于重装了系统,打开eclipse时,maven验证会出错,点击pom文件,会发现有红色的Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins:m 阅读全文
posted @ 2018-05-05 12:55 今天不打怪 阅读(444) 评论(0) 推荐(0)
摘要: 新人新帖,喷后请指正,谢谢 1.王中王,坑中坑 和很多人一样,我在springboo自定义配置登录拦截的时候,写一个WebConfig类继承WebMvcConfigureAdapter,重写AddResourceHandlers,然后乐呵呵的去实现HandlerInterceptor,在preHan 阅读全文
posted @ 2018-05-04 12:12 今天不打怪 阅读(13250) 评论(1) 推荐(1)
摘要: 1.启动Eclipse时,初始化异常:An internal error occurred during: "Initializing Java Tooling". 解决方案:windows ->Perspactive -> Reset perspactive 重置eclipse 页面 。 --答案 阅读全文
posted @ 2018-05-02 10:43 今天不打怪 阅读(3141) 评论(0) 推荐(0)
摘要: 1.准备工作 1.1.如果没有sts(spring tool suite)插件, 则需要下载。 1.1.1.eclipse下载的话,一定要注意版本,因为eclipse会直接下载最新版本,如果ts版本与eclipse的对应不上,则会新建不了springboot工程。help--> Eclipse Ma 阅读全文
posted @ 2018-05-01 17:44 今天不打怪 阅读(1058) 评论(0) 推荐(0)