整合dubbo3.3.0, 使用nacos2.0.3作为注册中心, 升级fastjson 2.0.11->2.0.23

This commit is contained in:
Guoqs
2025-06-16 16:59:22 +08:00
parent 2a8081a726
commit 7d1da567f0
4 changed files with 92 additions and 6 deletions

View File

@@ -1,5 +1,6 @@
package com.jsowell;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
@@ -11,6 +12,7 @@ import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
*/
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableDubbo
public class JsowellApplication {
public static void main(String[] args) {

View File

@@ -71,6 +71,19 @@ spring:
# 热部署开关
enabled: true
# dubbo配置
dubbo:
application:
name: jsowell-service
qosEnable: false
registry:
address: nacos://192.168.2.2:8848
username: nacos
password: nacos
protocol:
name: dubbo
port: -1
# MyBatis配置
mybatis:
# 搜索指定包别名