add javax support when use jdk11 (#154)

diff --git a/java/dubbo-samples-annotation/pom.xml b/java/dubbo-samples-annotation/pom.xml
index 60de9e1..a0cfa18 100644
--- a/java/dubbo-samples-annotation/pom.xml
+++ b/java/dubbo-samples-annotation/pom.xml
@@ -189,6 +189,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-async/dubbo-samples-async-generated-future/pom.xml b/java/dubbo-samples-async/dubbo-samples-async-generated-future/pom.xml
index 82c6a38..135a44c 100644
--- a/java/dubbo-samples-async/dubbo-samples-async-generated-future/pom.xml
+++ b/java/dubbo-samples-async/dubbo-samples-async-generated-future/pom.xml
@@ -189,6 +189,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-async/dubbo-samples-async-onerror/pom.xml b/java/dubbo-samples-async/dubbo-samples-async-onerror/pom.xml
index b4f5505..7ab0803 100644
--- a/java/dubbo-samples-async/dubbo-samples-async-onerror/pom.xml
+++ b/java/dubbo-samples-async/dubbo-samples-async-onerror/pom.xml
@@ -325,6 +325,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <repositories>
diff --git a/java/dubbo-samples-async/dubbo-samples-async-original-future/pom.xml b/java/dubbo-samples-async/dubbo-samples-async-original-future/pom.xml
index 5e590fb..223551c 100644
--- a/java/dubbo-samples-async/dubbo-samples-async-original-future/pom.xml
+++ b/java/dubbo-samples-async/dubbo-samples-async-original-future/pom.xml
@@ -189,6 +189,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-async/dubbo-samples-async-provider/pom.xml b/java/dubbo-samples-async/dubbo-samples-async-provider/pom.xml
index 3feb849..94fe818 100644
--- a/java/dubbo-samples-async/dubbo-samples-async-provider/pom.xml
+++ b/java/dubbo-samples-async/dubbo-samples-async-provider/pom.xml
@@ -189,6 +189,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-async/dubbo-samples-async-simple/pom.xml b/java/dubbo-samples-async/dubbo-samples-async-simple/pom.xml
index 93abc55..453e429 100644
--- a/java/dubbo-samples-async/dubbo-samples-async-simple/pom.xml
+++ b/java/dubbo-samples-async/dubbo-samples-async-simple/pom.xml
@@ -189,6 +189,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-attachment/pom.xml b/java/dubbo-samples-attachment/pom.xml
index c1c3cf4..6466946 100644
--- a/java/dubbo-samples-attachment/pom.xml
+++ b/java/dubbo-samples-attachment/pom.xml
@@ -189,6 +189,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-basic/pom.xml b/java/dubbo-samples-basic/pom.xml
index ab7bbc9..df5641c 100644
--- a/java/dubbo-samples-basic/pom.xml
+++ b/java/dubbo-samples-basic/pom.xml
@@ -183,6 +183,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-cache/pom.xml b/java/dubbo-samples-cache/pom.xml
index 4644c80..c597606 100644
--- a/java/dubbo-samples-cache/pom.xml
+++ b/java/dubbo-samples-cache/pom.xml
@@ -183,6 +183,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-callback/pom.xml b/java/dubbo-samples-callback/pom.xml
index 54fbfe1..378158b 100644
--- a/java/dubbo-samples-callback/pom.xml
+++ b/java/dubbo-samples-callback/pom.xml
@@ -180,6 +180,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-chain/dubbo-samples-chain-backend/pom.xml b/java/dubbo-samples-chain/dubbo-samples-chain-backend/pom.xml
index a50fa15..c2a3ef1 100644
--- a/java/dubbo-samples-chain/dubbo-samples-chain-backend/pom.xml
+++ b/java/dubbo-samples-chain/dubbo-samples-chain-backend/pom.xml
@@ -101,5 +101,19 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 </project>
diff --git a/java/dubbo-samples-chain/dubbo-samples-chain-front/pom.xml b/java/dubbo-samples-chain/dubbo-samples-chain-front/pom.xml
index 55140a9..c41a0cc 100644
--- a/java/dubbo-samples-chain/dubbo-samples-chain-front/pom.xml
+++ b/java/dubbo-samples-chain/dubbo-samples-chain-front/pom.xml
@@ -172,6 +172,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
 </project>
diff --git a/java/dubbo-samples-chain/dubbo-samples-chain-middle/pom.xml b/java/dubbo-samples-chain/dubbo-samples-chain-middle/pom.xml
index a93c595..691f59f 100644
--- a/java/dubbo-samples-chain/dubbo-samples-chain-middle/pom.xml
+++ b/java/dubbo-samples-chain/dubbo-samples-chain-middle/pom.xml
@@ -100,5 +100,19 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 </project>
diff --git a/java/dubbo-samples-compatible/pom.xml b/java/dubbo-samples-compatible/pom.xml
index c3d981e..84caeca 100644
--- a/java/dubbo-samples-compatible/pom.xml
+++ b/java/dubbo-samples-compatible/pom.xml
@@ -189,6 +189,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-configcenter/dubbo-samples-configcenter-annotation/pom.xml b/java/dubbo-samples-configcenter/dubbo-samples-configcenter-annotation/pom.xml
index f0c4f01..d61934e 100644
--- a/java/dubbo-samples-configcenter/dubbo-samples-configcenter-annotation/pom.xml
+++ b/java/dubbo-samples-configcenter/dubbo-samples-configcenter-annotation/pom.xml
@@ -194,6 +194,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-configcenter/dubbo-samples-configcenter-apollo/pom.xml b/java/dubbo-samples-configcenter/dubbo-samples-configcenter-apollo/pom.xml
index fa1f441..e3af67c 100644
--- a/java/dubbo-samples-configcenter/dubbo-samples-configcenter-apollo/pom.xml
+++ b/java/dubbo-samples-configcenter/dubbo-samples-configcenter-apollo/pom.xml
@@ -213,6 +213,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-configcenter/dubbo-samples-configcenter-externalconfiguration/pom.xml b/java/dubbo-samples-configcenter/dubbo-samples-configcenter-externalconfiguration/pom.xml
index d6bb13b..49b9a34 100644
--- a/java/dubbo-samples-configcenter/dubbo-samples-configcenter-externalconfiguration/pom.xml
+++ b/java/dubbo-samples-configcenter/dubbo-samples-configcenter-externalconfiguration/pom.xml
@@ -206,6 +206,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-configcenter/dubbo-samples-configcenter-multi-registries/pom.xml b/java/dubbo-samples-configcenter/dubbo-samples-configcenter-multi-registries/pom.xml
index e1055c7..3c9a47f 100644
--- a/java/dubbo-samples-configcenter/dubbo-samples-configcenter-multi-registries/pom.xml
+++ b/java/dubbo-samples-configcenter/dubbo-samples-configcenter-multi-registries/pom.xml
@@ -198,6 +198,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-configcenter/dubbo-samples-configcenter-multiprotocol/pom.xml b/java/dubbo-samples-configcenter/dubbo-samples-configcenter-multiprotocol/pom.xml
index fb58826..db06463 100644
--- a/java/dubbo-samples-configcenter/dubbo-samples-configcenter-multiprotocol/pom.xml
+++ b/java/dubbo-samples-configcenter/dubbo-samples-configcenter-multiprotocol/pom.xml
@@ -224,6 +224,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-configcenter/dubbo-samples-configcenter-xml/pom.xml b/java/dubbo-samples-configcenter/dubbo-samples-configcenter-xml/pom.xml
index c611e93..41d39e5 100644
--- a/java/dubbo-samples-configcenter/dubbo-samples-configcenter-xml/pom.xml
+++ b/java/dubbo-samples-configcenter/dubbo-samples-configcenter-xml/pom.xml
@@ -193,6 +193,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-consul/pom.xml b/java/dubbo-samples-consul/pom.xml
index 2760e38..4f9269e 100644
--- a/java/dubbo-samples-consul/pom.xml
+++ b/java/dubbo-samples-consul/pom.xml
@@ -122,6 +122,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-context/pom.xml b/java/dubbo-samples-context/pom.xml
index 1d77f5f..5ca4dc9 100644
--- a/java/dubbo-samples-context/pom.xml
+++ b/java/dubbo-samples-context/pom.xml
@@ -103,6 +103,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-default-config/pom.xml b/java/dubbo-samples-default-config/pom.xml
index 7fa0676..8bdf221 100644
--- a/java/dubbo-samples-default-config/pom.xml
+++ b/java/dubbo-samples-default-config/pom.xml
@@ -121,6 +121,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-direct/pom.xml b/java/dubbo-samples-direct/pom.xml
index 7728bfe..3dd19ca 100644
--- a/java/dubbo-samples-direct/pom.xml
+++ b/java/dubbo-samples-direct/pom.xml
@@ -203,6 +203,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-echo/pom.xml b/java/dubbo-samples-echo/pom.xml
index e295a40..216fde4 100644
--- a/java/dubbo-samples-echo/pom.xml
+++ b/java/dubbo-samples-echo/pom.xml
@@ -188,6 +188,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-environment-keys/pom.xml b/java/dubbo-samples-environment-keys/pom.xml
index a711cf9..0402fde 100644
--- a/java/dubbo-samples-environment-keys/pom.xml
+++ b/java/dubbo-samples-environment-keys/pom.xml
@@ -182,6 +182,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-generic/dubbo-samples-generic-call/dubbo-samples-generic-call-provider/pom.xml b/java/dubbo-samples-generic/dubbo-samples-generic-call/dubbo-samples-generic-call-provider/pom.xml
index e592838..1bfeb1c 100644
--- a/java/dubbo-samples-generic/dubbo-samples-generic-call/dubbo-samples-generic-call-provider/pom.xml
+++ b/java/dubbo-samples-generic/dubbo-samples-generic-call/dubbo-samples-generic-call-provider/pom.xml
@@ -212,5 +212,19 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 </project>
diff --git a/java/dubbo-samples-generic/dubbo-samples-generic-type/pom.xml b/java/dubbo-samples-generic/dubbo-samples-generic-type/pom.xml
index 359e349..9730358 100644
--- a/java/dubbo-samples-generic/dubbo-samples-generic-type/pom.xml
+++ b/java/dubbo-samples-generic/dubbo-samples-generic-type/pom.xml
@@ -192,6 +192,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-governance/dubbo-samples-applevel-override/pom.xml b/java/dubbo-samples-governance/dubbo-samples-applevel-override/pom.xml
index 4126aab..d24ff5c 100644
--- a/java/dubbo-samples-governance/dubbo-samples-applevel-override/pom.xml
+++ b/java/dubbo-samples-governance/dubbo-samples-applevel-override/pom.xml
@@ -214,6 +214,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-governance/dubbo-samples-configconditionrouter/pom.xml b/java/dubbo-samples-governance/dubbo-samples-configconditionrouter/pom.xml
index 2cba675..bd1eacf 100644
--- a/java/dubbo-samples-governance/dubbo-samples-configconditionrouter/pom.xml
+++ b/java/dubbo-samples-governance/dubbo-samples-configconditionrouter/pom.xml
@@ -214,6 +214,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-governance/dubbo-samples-servicelevel-override/pom.xml b/java/dubbo-samples-governance/dubbo-samples-servicelevel-override/pom.xml
index d2cb710..e1f514c 100644
--- a/java/dubbo-samples-governance/dubbo-samples-servicelevel-override/pom.xml
+++ b/java/dubbo-samples-governance/dubbo-samples-servicelevel-override/pom.xml
@@ -196,6 +196,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-governance/dubbo-samples-tagrouter/pom.xml b/java/dubbo-samples-governance/dubbo-samples-tagrouter/pom.xml
index 9821942..26d167b 100644
--- a/java/dubbo-samples-governance/dubbo-samples-tagrouter/pom.xml
+++ b/java/dubbo-samples-governance/dubbo-samples-tagrouter/pom.xml
@@ -213,6 +213,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-group/pom.xml b/java/dubbo-samples-group/pom.xml
index 14b1353..35b0d09 100644
--- a/java/dubbo-samples-group/pom.xml
+++ b/java/dubbo-samples-group/pom.xml
@@ -188,6 +188,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-grpc/dubbo-samples-original/pom.xml b/java/dubbo-samples-grpc/dubbo-samples-original/pom.xml
index 7dd1d00..2c88e32 100644
--- a/java/dubbo-samples-grpc/dubbo-samples-original/pom.xml
+++ b/java/dubbo-samples-grpc/dubbo-samples-original/pom.xml
@@ -125,6 +125,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-local/pom.xml b/java/dubbo-samples-local/pom.xml
index a80217b..8a4a361 100644
--- a/java/dubbo-samples-local/pom.xml
+++ b/java/dubbo-samples-local/pom.xml
@@ -91,6 +91,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-merge/dubbo-samples-merge-consumer/pom.xml b/java/dubbo-samples-merge/dubbo-samples-merge-consumer/pom.xml
index 5ac3a6e..56aa8ed 100644
--- a/java/dubbo-samples-merge/dubbo-samples-merge-consumer/pom.xml
+++ b/java/dubbo-samples-merge/dubbo-samples-merge-consumer/pom.xml
@@ -180,6 +180,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
 </project>
diff --git a/java/dubbo-samples-merge/dubbo-samples-merge-provider1/pom.xml b/java/dubbo-samples-merge/dubbo-samples-merge-provider1/pom.xml
index d19fff5..b945d6c 100644
--- a/java/dubbo-samples-merge/dubbo-samples-merge-provider1/pom.xml
+++ b/java/dubbo-samples-merge/dubbo-samples-merge-provider1/pom.xml
@@ -113,5 +113,19 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 </project>
diff --git a/java/dubbo-samples-merge/dubbo-samples-merge-provider2/pom.xml b/java/dubbo-samples-merge/dubbo-samples-merge-provider2/pom.xml
index 92b92ff..161c665 100644
--- a/java/dubbo-samples-merge/dubbo-samples-merge-provider2/pom.xml
+++ b/java/dubbo-samples-merge/dubbo-samples-merge-provider2/pom.xml
@@ -113,5 +113,19 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 </project>
diff --git a/java/dubbo-samples-metadata-report/dubbo-samples-metadata-report-configcenter/pom.xml b/java/dubbo-samples-metadata-report/dubbo-samples-metadata-report-configcenter/pom.xml
index dba859f..cecff72 100644
--- a/java/dubbo-samples-metadata-report/dubbo-samples-metadata-report-configcenter/pom.xml
+++ b/java/dubbo-samples-metadata-report/dubbo-samples-metadata-report-configcenter/pom.xml
@@ -209,6 +209,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-metadata-report/dubbo-samples-metadata-report-local-annotation/pom.xml b/java/dubbo-samples-metadata-report/dubbo-samples-metadata-report-local-annotation/pom.xml
index e4bbcc1..46d595f 100644
--- a/java/dubbo-samples-metadata-report/dubbo-samples-metadata-report-local-annotation/pom.xml
+++ b/java/dubbo-samples-metadata-report/dubbo-samples-metadata-report-local-annotation/pom.xml
@@ -209,6 +209,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-metadata-report/dubbo-samples-metadata-report-local-properties/pom.xml b/java/dubbo-samples-metadata-report/dubbo-samples-metadata-report-local-properties/pom.xml
index f898477..508522a 100644
--- a/java/dubbo-samples-metadata-report/dubbo-samples-metadata-report-local-properties/pom.xml
+++ b/java/dubbo-samples-metadata-report/dubbo-samples-metadata-report-local-properties/pom.xml
@@ -210,6 +210,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-metadata-report/dubbo-samples-metadata-report-local-xml/pom.xml b/java/dubbo-samples-metadata-report/dubbo-samples-metadata-report-local-xml/pom.xml
index 9185414..6a9b514 100644
--- a/java/dubbo-samples-metadata-report/dubbo-samples-metadata-report-local-xml/pom.xml
+++ b/java/dubbo-samples-metadata-report/dubbo-samples-metadata-report-local-xml/pom.xml
@@ -209,6 +209,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-metrics/pom.xml b/java/dubbo-samples-metrics/pom.xml
index ee546d3..d6faee5 100644
--- a/java/dubbo-samples-metrics/pom.xml
+++ b/java/dubbo-samples-metrics/pom.xml
@@ -194,6 +194,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-mock/pom.xml b/java/dubbo-samples-mock/pom.xml
index 4d78746..396ffd5 100644
--- a/java/dubbo-samples-mock/pom.xml
+++ b/java/dubbo-samples-mock/pom.xml
@@ -218,6 +218,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
 </project>
diff --git a/java/dubbo-samples-monitor/pom.xml b/java/dubbo-samples-monitor/pom.xml
index 3ae97e1..4e455ae 100644
--- a/java/dubbo-samples-monitor/pom.xml
+++ b/java/dubbo-samples-monitor/pom.xml
@@ -194,6 +194,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-multi-registry/pom.xml b/java/dubbo-samples-multi-registry/pom.xml
index 5dadaea..a1ff6ff 100644
--- a/java/dubbo-samples-multi-registry/pom.xml
+++ b/java/dubbo-samples-multi-registry/pom.xml
@@ -189,6 +189,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-nacos/dubbo-samples-nacos-conditionrouter/pom.xml b/java/dubbo-samples-nacos/dubbo-samples-nacos-conditionrouter/pom.xml
index 8f99a78..9deaea9 100644
--- a/java/dubbo-samples-nacos/dubbo-samples-nacos-conditionrouter/pom.xml
+++ b/java/dubbo-samples-nacos/dubbo-samples-nacos-conditionrouter/pom.xml
@@ -226,6 +226,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-nacos/dubbo-samples-nacos-configcenter/pom.xml b/java/dubbo-samples-nacos/dubbo-samples-nacos-configcenter/pom.xml
index 79ead7b..ec86814 100644
--- a/java/dubbo-samples-nacos/dubbo-samples-nacos-configcenter/pom.xml
+++ b/java/dubbo-samples-nacos/dubbo-samples-nacos-configcenter/pom.xml
@@ -208,6 +208,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-nacos/dubbo-samples-nacos-override/pom.xml b/java/dubbo-samples-nacos/dubbo-samples-nacos-override/pom.xml
index 9778e8f..b96b688 100644
--- a/java/dubbo-samples-nacos/dubbo-samples-nacos-override/pom.xml
+++ b/java/dubbo-samples-nacos/dubbo-samples-nacos-override/pom.xml
@@ -208,6 +208,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-nacos/dubbo-samples-nacos-registry/pom.xml b/java/dubbo-samples-nacos/dubbo-samples-nacos-registry/pom.xml
index e1856d8..0b963fb 100644
--- a/java/dubbo-samples-nacos/dubbo-samples-nacos-registry/pom.xml
+++ b/java/dubbo-samples-nacos/dubbo-samples-nacos-registry/pom.xml
@@ -208,6 +208,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-nacos/dubbo-samples-nacos-tagrouter/pom.xml b/java/dubbo-samples-nacos/dubbo-samples-nacos-tagrouter/pom.xml
index 6ce3b56..f7424ff 100644
--- a/java/dubbo-samples-nacos/dubbo-samples-nacos-tagrouter/pom.xml
+++ b/java/dubbo-samples-nacos/dubbo-samples-nacos-tagrouter/pom.xml
@@ -225,6 +225,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-notify/pom.xml b/java/dubbo-samples-notify/pom.xml
index c27fbd8..d137355 100644
--- a/java/dubbo-samples-notify/pom.xml
+++ b/java/dubbo-samples-notify/pom.xml
@@ -189,6 +189,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-rest/pom.xml b/java/dubbo-samples-rest/pom.xml
index 52c7aa3..2b22292 100644
--- a/java/dubbo-samples-rest/pom.xml
+++ b/java/dubbo-samples-rest/pom.xml
@@ -373,5 +373,19 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 </project>
diff --git a/java/dubbo-samples-scala/pom.xml b/java/dubbo-samples-scala/pom.xml
index 2bf6599..5e0bd02 100644
--- a/java/dubbo-samples-scala/pom.xml
+++ b/java/dubbo-samples-scala/pom.xml
@@ -352,5 +352,19 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 </project>
diff --git a/java/dubbo-samples-serialization/dubbo-samples-serialization-java/pom.xml b/java/dubbo-samples-serialization/dubbo-samples-serialization-java/pom.xml
index 293cadf..f834e0c 100644
--- a/java/dubbo-samples-serialization/dubbo-samples-serialization-java/pom.xml
+++ b/java/dubbo-samples-serialization/dubbo-samples-serialization-java/pom.xml
@@ -186,6 +186,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-simplified-registry/dubbo-samples-simplified-registry-annotation/pom.xml b/java/dubbo-samples-simplified-registry/dubbo-samples-simplified-registry-annotation/pom.xml
index 9f97c4a..9c53b88 100644
--- a/java/dubbo-samples-simplified-registry/dubbo-samples-simplified-registry-annotation/pom.xml
+++ b/java/dubbo-samples-simplified-registry/dubbo-samples-simplified-registry-annotation/pom.xml
@@ -190,6 +190,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-simplified-registry/dubbo-samples-simplified-registry-nosimple/pom.xml b/java/dubbo-samples-simplified-registry/dubbo-samples-simplified-registry-nosimple/pom.xml
index e74823d..5b8a927 100644
--- a/java/dubbo-samples-simplified-registry/dubbo-samples-simplified-registry-nosimple/pom.xml
+++ b/java/dubbo-samples-simplified-registry/dubbo-samples-simplified-registry-nosimple/pom.xml
@@ -190,6 +190,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-simplified-registry/dubbo-samples-simplified-registry-properties/pom.xml b/java/dubbo-samples-simplified-registry/dubbo-samples-simplified-registry-properties/pom.xml
index 1ce9546..7574de0 100644
--- a/java/dubbo-samples-simplified-registry/dubbo-samples-simplified-registry-properties/pom.xml
+++ b/java/dubbo-samples-simplified-registry/dubbo-samples-simplified-registry-properties/pom.xml
@@ -189,6 +189,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-simplified-registry/dubbo-samples-simplified-registry-xml/pom.xml b/java/dubbo-samples-simplified-registry/dubbo-samples-simplified-registry-xml/pom.xml
index 2fd7492..8790cd9 100644
--- a/java/dubbo-samples-simplified-registry/dubbo-samples-simplified-registry-xml/pom.xml
+++ b/java/dubbo-samples-simplified-registry/dubbo-samples-simplified-registry-xml/pom.xml
@@ -190,6 +190,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-spi-compatible/pom.xml b/java/dubbo-samples-spi-compatible/pom.xml
index f2df148..3ff2b07 100644
--- a/java/dubbo-samples-spi-compatible/pom.xml
+++ b/java/dubbo-samples-spi-compatible/pom.xml
@@ -186,6 +186,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-spring-hystrix/pom.xml b/java/dubbo-samples-spring-hystrix/pom.xml
index 6685277..27ce8f3 100644
--- a/java/dubbo-samples-spring-hystrix/pom.xml
+++ b/java/dubbo-samples-spring-hystrix/pom.xml
@@ -213,6 +213,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-stub/pom.xml b/java/dubbo-samples-stub/pom.xml
index 5fb9ec5..ee99411 100644
--- a/java/dubbo-samples-stub/pom.xml
+++ b/java/dubbo-samples-stub/pom.xml
@@ -189,6 +189,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-switch-serialization-thread/pom.xml b/java/dubbo-samples-switch-serialization-thread/pom.xml
index bfcdb88..a40519e 100644
--- a/java/dubbo-samples-switch-serialization-thread/pom.xml
+++ b/java/dubbo-samples-switch-serialization-thread/pom.xml
@@ -186,6 +186,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-thrift/dubbo-samples-thrift-impl/pom.xml b/java/dubbo-samples-thrift/dubbo-samples-thrift-impl/pom.xml
index 2e35719..ec2cc57 100644
--- a/java/dubbo-samples-thrift/dubbo-samples-thrift-impl/pom.xml
+++ b/java/dubbo-samples-thrift/dubbo-samples-thrift-impl/pom.xml
@@ -227,5 +227,19 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 </project>
diff --git a/java/dubbo-samples-transaction/pom.xml b/java/dubbo-samples-transaction/pom.xml
index 3b57a93..c11c031 100644
--- a/java/dubbo-samples-transaction/pom.xml
+++ b/java/dubbo-samples-transaction/pom.xml
@@ -336,6 +336,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-validation/pom.xml b/java/dubbo-samples-validation/pom.xml
index 6d4a61a..2c0ca26 100644
--- a/java/dubbo-samples-validation/pom.xml
+++ b/java/dubbo-samples-validation/pom.xml
@@ -220,6 +220,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-version/pom.xml b/java/dubbo-samples-version/pom.xml
index 98bbc61..9fff803 100644
--- a/java/dubbo-samples-version/pom.xml
+++ b/java/dubbo-samples-version/pom.xml
@@ -237,6 +237,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-zipkin/pom.xml b/java/dubbo-samples-zipkin/pom.xml
index f0b2f73..7a327a1 100644
--- a/java/dubbo-samples-zipkin/pom.xml
+++ b/java/dubbo-samples-zipkin/pom.xml
@@ -297,6 +297,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>
diff --git a/java/dubbo-samples-zookeeper/pom.xml b/java/dubbo-samples-zookeeper/pom.xml
index 27486cc..148d79b 100644
--- a/java/dubbo-samples-zookeeper/pom.xml
+++ b/java/dubbo-samples-zookeeper/pom.xml
@@ -201,6 +201,20 @@
                 </plugins>
             </build>
         </profile>
+        <!-- For jdk 11 above JavaEE annotation -->
+        <profile>
+            <id>javax.annotation</id>
+            <activation>
+                <jdk>[1.11,)</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>