Pinpoint: Failed to run collector in idea

Created on 14 Jul 2020  路  11Comments  路  Source: pinpoint-apm/pinpoint

Prerequisites

Please check the FAQ, and search existing issues for similar questions before creating a new issue.YOU MAY DELETE THIS PREREQUISITES SECTION.

  • [x] I have checked the FAQ, and issues and found no answer.

I updated code recently and found that i can't run collector as before in IDEA.

I can use Maven to compile project successfully in IDEA. But if i run application in IDEA, the following error will be raised.

image

image

image
image

Most helpful comment

As I mentioned, please check dependencies tab not sources tab.

module sdk 1.8 was my default.
dependencies

All 11 comments

This problem will happened at both my labtop and destop pc.

hi @tankilo

I configured the project by initializing it. I was also met the same error.
In my case, the error disappeared after I add pinpoint-profiler-optional-jdk9 module to the read line marked.
Please try it.

add module1

thanks :)

@tankilo

If not, please check if 9 is normally applied to the dependency of the actual project.
As in my image, if 8 is the default, there may be a dependency that is different from the language level.

牍岆摐2

Hello, it seems that i've already configured IDEA just like you said, but i still meet problems.

image

image

--add-exports=java.base/jdk.internal.loader=ALL-UNNAMED --add-exports=java.base/jdk.internal.module=ALL-UNNAMED --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED

I import pinpoint code as Maven project into IDEA, IDEA auto set the above configuration. I didn't change them.

As I mentioned, please check dependencies tab not sources tab.

module sdk 1.8 was my default.
dependencies

Thank you. I find out why i can't start the application.

I don't understand why language level is 9 , but idea choes jdk 8 as the module jdk.
image

We comment at the same time. Thanks for your detailed explanation.

good,but i bisits webapp is 404,url:http://localhost:8080/

@1121076248
Collector module doen not have any http page.
Please check whether collector works well by using agent.
thanks :)

@koo-taejin thanks, i hbase is not connect锛宐ut i deploy to linux server, i can access it 銆侷 want to try Upgrade to Hbase2.0

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xulongju picture xulongju  路  3Comments

chuanyi-fang picture chuanyi-fang  路  3Comments

Allive1 picture Allive1  路  5Comments

CHENTIANHAO123 picture CHENTIANHAO123  路  4Comments

ing-arriola picture ing-arriola  路  4Comments