Welcome to the Linux Foundation Forum!

Typo on "Exercise 2: Code-Based Instrumentation for Java & Python"

Text says:

  1. Now run the newly built JAR including the agent:
  2.  
  3. java -javaagent:./opentelemetry-javaagent.jar -jar target/todobackend-automatic-0.0.1-SNAPSHOT.jar

Should say:

  1. java -javaagent:./opentelemetry-javaagent.jar -jar target/todobackend-0.0.1-SNAPSHOT.jar

... unless I am completely missing something, there is no todobackend-automatic-0.0.1-SNAPSHOT.jar artifact, just a recompiled todobackend-0.0.1-SNAPSHOT.jar artifact.

Comments

  • Posts: 64

    Hello @mhite ,

    When we look at the pom.xml file used by Maven to build, we see the final name is todobackend-0.0.1-SNAPSHOT.jar.

    So Yes, according to xml, there is a typo in the name, I will update the author/maintainers to update the course accordingly. Thank you for flagging it.

    Contents from pom.xml:

    0.0.1-SNAPSHOT
    todobackend-${version}

  • Posts: 2,240

    The typo was fixed. Thank you for flagging it.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training