0

Hello i'm newby in Vertx. Today i implemented very simple vertx app with python But it is not working

Here is python code

web_server_conf = {
  'port' : 8080,
  'host' : 'localhost'
}

# Start the web server, with the config we defined above
import vertx

vertx.deploy_verticle('vertx.web-server-v1.0', web_server_conf)

But i got a error like below

C:\dev\tools\vert.x-1.3.0.final>vertx run app.py Cannot find verticle vertx.web-server-v1.0

i already installed the module in $VERTX_HOME\mods and javascript version of the sample is works well,

load('vertx.js');

var webServerConf = {  
  port: 8080,
  host: 'localhost'
};

// Start the web server, with the config we defined above

vertx.deployModule('vertx.web-server-v1.0', webServerConf);

Could u please kindly mentoring me?

4

1 回答 1

0

我用1.3我升级到2.1M3。

在互联网上,有很多基于旧版本 vertx 和模块的示例。所以最好启动官方页面。(vertx.io) 它可以减少混乱。

供参考..

另外thanx @tim_yates

于 2014-01-24T15:13:08.900 回答