question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

In the Example there is an error in the running script of mvn (missing space)

See original GitHub issue
mvn -Dokta.oauth2.issuer=https://{yourOktaDomain}/oauth2/default \
    -Dokta.oauth2.clientId={clientId} \
    -Dokta.oauth2.clientSecret={clientSecret}

should be:

mvn -D okta.oauth2.issuer=https://{yourOktaDomain}/oauth2/default \
    -D okta.oauth2.clientId={clientId} \
    -D okta.oauth2.clientSecret={clientSecret}

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
bdemerscommented, May 27, 2020
0reactions
timsamartcommented, May 27, 2020

@bdemers I guess the powershell interprets -Dokta is the flag because mvn tries to resolve .oauth2.issuer as a plugin which fails of course.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error "The goal you specified requires a project to execute but ...
On Windows, I got this error when running under a non-administrator command prompt. When I ran this as administrator, the error went away....
Read more >
Maven Resolve Missing Artifact Error Example
In this example, we will be discussing about how to resolve “Missing Artifact” error while using Maven. Before we start with this article, ......
Read more >
Failed to execute goal org.apache.maven.plugins ... - GitHub
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project navigator-sdk-examples: Compilation failure #74.
Read more >
mvn clean install - a short guide to Maven - Marco Behler
mvn clean install is the command to do just that. You are calling the mvn executable, which means you need Maven installed on...
Read more >
Spring Boot, Maven and Eclipse Errors and TroubleShooting ...
Tip : Example of a multi layered maven project; Error : java.lang.ClassNotFoundException; Q : Why are we not using Gradle? Eclipse.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found