com.beust.jcommander.ParameterException: Was passed main parameter '--artifact=com.treasuredata.client:td-client:0.7.6' but no main parameter was defined in your arg class

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via GitHub by trejkaz

There was a problem before jcommander v1.72 that you couldn't have a single main parameter (in spite of what the doc said).

Solutions on the web

via GitHub by petroseskinder
, 6 months ago
Was passed main parameter '--artifact=com.treasuredata.client:td-client:0.7.6' but no main parameter was defined in your arg class
via GitHub by airomega
, 1 year ago
Was passed main parameter 'password' but no main parameter was defined
via GitHub by andrewbaxter
, 2 years ago
Was passed main parameter 'hello' but no main parameter was defined
via GitHub by airomega
, 8 months ago
Was passed main parameter 'password' but no main parameter was defined
via GitHub by ravindra5557
, 1 year ago
Was passed m ain parameter 'Automation' but no main parameter was defined
via Google Groups by Anjali Sharma, 1 year ago
Was passed m ain parameter 'Articles\Testing\Mobile' but no main parameter was defined
com.beust.jcommander.ParameterException: Was passed main parameter '--artifact=com.treasuredata.client:td-client:0.7.6' but no main parameter was defined in your arg class
at com.beust.jcommander.JCommander.getMainParameter(JCommander.java:891)
at com.beust.jcommander.JCommander.parseValues(JCommander.java:707)
at com.beust.jcommander.JCommander.parse(JCommander.java:312)
at com.beust.jcommander.JCommander.parse(JCommander.java:291)
at com.google.devtools.build.workspace.GenerateWorkspace.main(GenerateWorkspace.java:48)

Users with the same issue

3 times, 4 weeks ago
Once, 4 months ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 3 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.