TarsCloud / TarsJava

Java language framework rpc source code implementation
Other
401 stars 168 forks source link

Problem with tars-spring-boot-server #158

Open ntsepelis opened 3 years ago

ntsepelis commented 3 years ago

Hi, I'm a newbie in tars and I have a huge problem.

Whenever I try to mvn install:

_Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9:jar (attach-javadocs) on project tars-common-api: MavenReportException: Error while creating archive: [ERROR] Exit code: 1 - /Users/nikolaos.tsepelis/Documents/Thesis/Software/TarsJava-master/tars-common-api/src/main/java/com/qq/tars/protocol/util/TarsHelper.java:37: error: package sun.reflect.generics.reflectiveObjects is not visible [ERROR] import sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl;

What am I doing wrong?

Thanks in advance.

TimmyYu commented 3 years ago

Can you give me your JDK and Maven version?

TimmyYu commented 3 years ago

The recommended versions are JDK8 and Maven3.5

ntsepelis commented 3 years ago

Hi,Jdk: 1.8.0.161Maven:3.6.3( I work on mac, if that  is relevant)Στις 30 Μαρ 2021 06:29, ο χρήστης Kerrigan @.***> έγραψε: Can you give me your JDK and Maven version?

—You are receiving this because you modified the open/close state.Reply to this email directly, view it on GitHub, or unsubscribe.

TimmyYu commented 3 years ago

Maven home: /usr/local/maven Java version: 1.8.0_191, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.16", arch: "x86_64", family: "mac"

TimmyYu commented 3 years ago

use command "mvn -version"

TimmyYu commented 3 years ago

try use "mvn install -Dmaven.javadoc.skip=true -DskipTests "

ntsepelis commented 3 years ago

it seems that I use

openjdk 11.0.9.1 2020-11-04 OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.9.1+1) OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.9.1+1, mixed mode)

is it possible that this is the problem?

Νικόλαος Τσεπελής BSc Φυσικής MSc Τηλεπικοινωνιών 1ο ΓΕΛ Σερρών

30 Μαρ 2021, 09:14, ο χρήστης «Kerrigan @.***>» έγραψε:

try use "mvn install -Dmaven.javadoc.skip=true -DskipTests "

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/TarsCloud/TarsJava/issues/158#issuecomment-809942224, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK6FFOTFDRYBSKFXPY6Y643TGFT5LANCNFSM4ZMV6ORA.

TimmyYu commented 3 years ago

use jdk 8

ntsepelis commented 3 years ago

Hi,

the compilation worked with "mvn install -Dmaven.javadoc.skip=true -DskipTests “, although I had to uninstall and reinstall java jre/jdk.

Now I face another problem: The Client App cannot connect to server!

Νικόλαος Τσεπελής BSc Φυσικής MSc Τηλεπικοινωνιών 1ο ΓΕΛ Σερρών

1 Απρ 2021, 05:39, ο χρήστης «Kerrigan @.***>» έγραψε:

use jdk 8

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/TarsCloud/TarsJava/issues/158#issuecomment-811595468, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK6FFOSWXYRYLDVJPS7JMYLTGPMG3ANCNFSM4ZMV6ORA.

ntsepelis commented 3 years ago

The message I get is

{"costtime":30001.162930999883,"error":{"code":-13001,"message":"call remote server timeout(remote server no response)"}}

Νικόλαος Τσεπελής BSc Φυσικής MSc Τηλεπικοινωνιών 1ο ΓΕΛ Σερρών

1 Απρ 2021, 05:39, ο χρήστης «Kerrigan @.***>» έγραψε:

use jdk 8

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/TarsCloud/TarsJava/issues/158#issuecomment-811595468, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK6FFOSWXYRYLDVJPS7JMYLTGPMG3ANCNFSM4ZMV6ORA.

TimmyYu commented 3 years ago

The message I get is {"costtime":30001.162930999883,"error":{"code":-13001,"message":"call remote server timeout(remote server no response)"}} Νικόλαος Τσεπελής BSc Φυσικής MSc Τηλεπικοινωνιών 1ο ΓΕΛ Σερρών 1 Απρ 2021, 05:39, ο χρήστης «Kerrigan @.***>» έγραψε: use jdk 8 — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub <#158 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK6FFOSWXYRYLDVJPS7JMYLTGPMG3ANCNFSM4ZMV6ORA.

Check Provider logic is correct

ntsepelis commented 3 years ago

Sorry, bur how can I check that?

Nikos Tsepelis BSc Physics MSc Telecommunications

19 Απρ 2021, 14:05, ο χρήστης «Kerrigan @.***>» έγραψε:

The message I get is {"costtime":30001.162930999883,"error":{"code":-13001,"message":"call remote server timeout(remote server no response)"}} Νικόλαος Τσεπελής BSc Φυσικής MSc Τηλεπικοινωνιών 1ο ΓΕΛ Σερρών … <x-msg://1/#> 1 Απρ 2021, 05:39, ο χρήστης «Kerrigan @.***>» έγραψε: use jdk 8 — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub <#158 (comment) https://github.com/TarsCloud/TarsJava/issues/158#issuecomment-811595468>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK6FFOSWXYRYLDVJPS7JMYLTGPMG3ANCNFSM4ZMV6ORA https://github.com/notifications/unsubscribe-auth/AK6FFOSWXYRYLDVJPS7JMYLTGPMG3ANCNFSM4ZMV6ORA.

Check Provider logic is correct

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/TarsCloud/TarsJava/issues/158#issuecomment-822382762, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK6FFOXC7WZ6QR5QWWW7OWDTJQFAZANCNFSM4ZMV6ORA.

TimmyYu commented 3 years ago

Click the ServerName on the TarsWeb

TimmyYu commented 3 years ago

Sorry, bur how can I check that? Nikos Tsepelis BSc Physics MSc Telecommunications 19 Απρ 2021, 14:05, ο χρήστης «Kerrigan @.>» έγραψε: The message I get is {"costtime":30001.162930999883,"error":{"code":-13001,"message":"call remote server timeout(remote server no response)"}} Νικόλαος Τσεπελής BSc Φυσικής MSc Τηλεπικοινωνιών 1ο ΓΕΛ Σερρών … <x-msg://1/#> 1 Απρ 2021, 05:39, ο χρήστης «Kerrigan @.>» έγραψε: use jdk 8 — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub <#158 (comment) <#158 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK6FFOSWXYRYLDVJPS7JMYLTGPMG3ANCNFSM4ZMV6ORA https://github.com/notifications/unsubscribe-auth/AK6FFOSWXYRYLDVJPS7JMYLTGPMG3ANCNFSM4ZMV6ORA. Check Provider logic is correct — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub <#158 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK6FFOXC7WZ6QR5QWWW7OWDTJQFAZANCNFSM4ZMV6ORA.

image