prometheus / prometheus/cloudwatch_exporter
Error: Could not find or load main class io.prometheus.cloudwatch.WebServer
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 977
- Forks
- 337
- Avg merge
- 7d 3h
- Merged PRs (30d)
- 9
Description
Please bear with me i am a total newby...
[INFO] --- maven-install-plugin:2.4:install (default-install) @ cloudwatch_exporter ---
[INFO] Installing C:\Users\Public\Cloudwatch jar\target\cloudwatch_exporter-0.10.0.jar to C:\Users\David.Carpenter.m2\repository\io\prometheus\cloudwatch\cloudwatch_exporter\0.10.0\cloudwatch_exporter-0.10.0.jar
[INFO] Installing C:\Users\Public\Cloudwatch jar\pom.xml to C:\Users\David.Carpenter.m2\repository\io\prometheus\cloudwatch\cloudwatch_exporter\0.10.0\cloudwatch_exporter-0.10.0.pom
[INFO] Installing C:\Users\Public\Cloudwatch jar\target\cloudwatch_exporter-0.10.0-jar-with-dependencies.jar to C:\Users\David.Carpenter.m2\repository\io\prometheus\cloudwatch\cloudwatch_exporter\0.10.0\cloudwatch_exporter-0.10.0-jar-with-dependencies.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19.644 s
[INFO] Finished at: 2021-04-07T16:38:39+01:00
[INFO] ------------------------------------------------------------------------
C:\Users\Public\Cloudwatch jar>java -jar target/cloudwatch_exporter-0.10.0-jar-with-dependencies.jar 9106 example.yml
Error: Could not find or load main class io.prometheus.cloudwatch.WebServer
Caused by: java.lang.ClassNotFoundException: io.prometheus.cloudwatch.WebServer
Im a little lost here and dont know why this is failing...
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with pom.xml and the target/cloudwatch_exporter-0.10.0-jar-with-dependencies.jar named in the report; inspect whether io.prometheus.cloudwatch.WebServer is present and how the application entry point is configured. Compare the documented or project-provided launch command with the Windows command shown, then verify that the exporter starts with example.yml and port 9106.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, java
- Domain
- cli, cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100