You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2021/10/29 07:37:27 UTC
[dubbo] branch 3.0 updated: fix to run with latest dubbo (#9144)
This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/3.0 by this push:
new e503bb5 fix to run with latest dubbo (#9144)
e503bb5 is described below
commit e503bb58eec70d60687d304904e47a182ec150da
Author: rikaaa0928 <85...@users.noreply.github.com>
AuthorDate: Fri Oct 29 15:37:05 2021 +0800
fix to run with latest dubbo (#9144)
---
dubbo-demo/dubbo-demo-native/dubbo-demo-native-consumer/pom.xml | 5 ++++-
dubbo-demo/dubbo-demo-native/dubbo-demo-native-provider/pom.xml | 4 ++++
.../src/main/resources/META-INF/native-image/reflect-config.json | 4 +++-
3 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/dubbo-demo/dubbo-demo-native/dubbo-demo-native-consumer/pom.xml b/dubbo-demo/dubbo-demo-native/dubbo-demo-native-consumer/pom.xml
index 8801a24..b5e2eac 100644
--- a/dubbo-demo/dubbo-demo-native/dubbo-demo-native-consumer/pom.xml
+++ b/dubbo-demo/dubbo-demo-native/dubbo-demo-native-consumer/pom.xml
@@ -80,7 +80,10 @@
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-filter-validation</artifactId>
</dependency>
-
+ <dependency>
+ <groupId>org.apache.dubbo</groupId>
+ <artifactId>dubbo-remoting-http</artifactId>
+ </dependency>
</dependencies>
diff --git a/dubbo-demo/dubbo-demo-native/dubbo-demo-native-provider/pom.xml b/dubbo-demo/dubbo-demo-native/dubbo-demo-native-provider/pom.xml
index a0fb34d..bcc6d9a 100644
--- a/dubbo-demo/dubbo-demo-native/dubbo-demo-native-provider/pom.xml
+++ b/dubbo-demo/dubbo-demo-native/dubbo-demo-native-provider/pom.xml
@@ -74,6 +74,10 @@
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-filter-validation</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.apache.dubbo</groupId>
+ <artifactId>dubbo-remoting-http</artifactId>
+ </dependency>
</dependencies>
diff --git a/dubbo-native-plugin/src/main/resources/META-INF/native-image/reflect-config.json b/dubbo-native-plugin/src/main/resources/META-INF/native-image/reflect-config.json
index f3dee4e..9d000c1 100644
--- a/dubbo-native-plugin/src/main/resources/META-INF/native-image/reflect-config.json
+++ b/dubbo-native-plugin/src/main/resources/META-INF/native-image/reflect-config.json
@@ -1373,7 +1373,9 @@
"methods": [
{
"name": "<init>",
- "parameterTypes": []
+ "parameterTypes": [
+ "org.apache.dubbo.rpc.model.ApplicationModel"
+ ]
}
]
},