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


Samebug tips1

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

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web22

Solution icon of github
Was passed main parameter '--artifact=com.treasuredata.client:td-client:0.7.6' but no main parameter was defined in your arg class

Solution icon of github
Was passed main parameter 'http://127.0.0.1:4444/grid/console/' but no main parameter was defined

Solution icon of github
Was passed main parameter '"-host' but no main parameter was defined

Solution icon of github
via GitHub by airomega
, 4 months ago
Was passed main parameter 'password' but no main parameter was defined

Solution icon of github
via GitHub by kensipe
, 1 year ago
Was passed main parameter 'crate' but no main parameter was defined

Solution icon of github
via GitHub by kensipe
, 1 year ago
Was passed main parameter 'crate-mesos-0.1.0-SNAPSHOT-b74d1a0.tar.gz' but no main parameter was defined

Solution icon of stackoverflow
via Stack Overflow by Bharadwaj
, 7 months ago
Was passed main parameter ‘version=ANY,’ but no main parameter was defined

Solution icon of github
Was passed main parameter 'hello' but no main parameter was defined

Solution icon of github
via GitHub by airomega
, 1 year ago
Was passed main parameter 'password' but no main parameter was defined

Solution icon of github
Was passed main parameter 'http://localhost:4444/grid/register' but no main parameter was defined

Stack trace

  • 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)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Once, 6 days ago
5 times, 4 months ago
2 times, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
2 more bugmates