简体   繁体   中英

Maven Error Resolving version for plugin

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

Change to regular windows command prompt

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.

Are you using PowerShell ?

PowerShell does not recognize line parameter as follow

-Dname.of.myparameter=somting

Use "old" windows command prompt instead.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM