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

  1. ,
    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
, 11 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
, 2 years 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
, 1 year ago
Was passed main parameter 'password' but no main parameter was defined
via GitHub by ravindra5557
, 2 years 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)