<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance ...
分类:
移动开发 时间:
2020-05-16 15:17:24
阅读次数:
72
<?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:s ...
分类:
编程语言 时间:
2020-05-16 15:10:15
阅读次数:
63
SSM框架整合 springmvc servlet.xml 数据库 application context.xml mybatis config.xml spring dao.xml 依赖 打包问题 web.xml 路径 事物织入 spring service ...
分类:
其他好文 时间:
2020-05-16 01:00:41
阅读次数:
65
Gateway依赖webflux,但是它对SpringMvc是兼容的。 我们在父工程里面,有写过这么一个StartWeb。当时来讲,我们所有的模块都需要,但是目前来讲我们已经有了冲突的模块了。 所以首先我们要把starter-web移动到其他的子模块里面。 给挨个的模块都加一下 zuul模块 cin ...
分类:
其他好文 时间:
2020-05-16 00:32:00
阅读次数:
56
1.什么是dubbo,zookeeper? dubbo是个阿里巴巴的旗下的高性能、轻量级的开源Java RPC框架ZooKeeper是一个分布式的,开放源码的分布式应用程序协调服务上面是官方说法,通俗点说 dubbo是个分布式框架,zookeeper是个注册中心 2.什么是分布式,为什么要搞分布式? ...
分类:
其他好文 时间:
2020-05-15 22:58:38
阅读次数:
106
后台有Goods对象接收前台参数: 前端json写法: { "spu": { "id": "1", "sn": "", "name": "巴布豆(BOBDOG)柔薄悦动婴儿拉拉裤XXL码80片(15kg以上)", "caption": "纤薄升级,透气不闷,舒适大环腰,宝宝随心动更多优惠猛戳", " ...
分类:
编程语言 时间:
2020-05-15 16:00:43
阅读次数:
75
**错误原因**:端口号被占用。
**解决方法**:关掉占用端口号的进程。步骤参考:https://jingyan.baidu.com/article/3aed632e24d3c5701180916d.html
**报错信息**:
Caused by: com.alibaba.dubbo.rpc.RpcException:...
分类:
其他好文 时间:
2020-05-14 11:00:08
阅读次数:
63
1.Spring和SpringMVC的区别? Spring是IOC和AOP的容器框架,SpringMVC是基于Spring功能之上添加的Web框架,想用SpringMVC必须先依赖Spring。 2.SpringBoot和springMVC的区别? SpringMVC提供了一种轻度耦合的方式来开发w ...
分类:
编程语言 时间:
2020-05-13 11:59:20
阅读次数:
96
SSM阶段所需要的包,包含了Spring、SpringMVC、Mybatis的jar包 把这两段代码,放在pom.xml中的这两个位置。 <dependencies> <!--Junit--> <dependency> <groupId>junit</groupId> <artifactId>jun ...
分类:
Web程序 时间:
2020-05-13 10:18:29
阅读次数:
62
此项目是Spring Cloud Alibaba 和 Dubbo 整合 Demo 版本 Apache Dubbo Demo JDK 1.8 Dubbo 2.7.2 Nacos Client 1.0.0 Spring Boot 2.1.6.RELEASE Dubbo Registry Nacos 2. ...
分类:
Web程序 时间:
2020-05-13 00:25:45
阅读次数:
90