3

I am trying to run a kurento-java client hello world example as given in this link http://doc-kurento.readthedocs.io/en/stable/tutorials/java/tutorial-helloworld.html

I am providing a kurento media server url while compiling the code as

mvn compile exec:java -Dkms.url=ws://kms_host:kms_port/kurento

I keep getting error as:

Error resolving version for plugin '.url=ws://kms_host:kms_port' from the repositories

Sourabh Joshi
  • 66
  • 1
  • 6

3 Answers3

11

Are you using PowerShell ?

PowerShell does not recognize line parameter as follow

-Dname.of.myparameter=somting

Use "old" windows command prompt instead.

Zou
  • 243
  • 2
  • 11
2

Change to regular windows command prompt

1

This error will be thrown if you have a space before the dot in -Dkms.url. Please make sure to run the command exactly as in the documentation you are referring to.

vempo
  • 3,093
  • 1
  • 14
  • 16
  • There is no space – Sourabh Joshi Jun 07 '17 at 08:55
  • Clearly the command-line interpreter recognized .url=ws://kms_host:kms_port as a separate token. Copy the entire string into a simple text editor (not Word) to see if there are any invisible characters. No line breaks either. – vempo Jun 07 '17 at 09:08