2014-07-29 17:36:22.730-0400 [vert.x-eventloop-thread-1] ERROR AppStartVerticle handle - jsonSchemaValidator deployment failed, cause = org.vertx.java.platform.PlatformManagerException: Module io.vertx~lang-scala~0.2.0 contains an empty mod.json file
org.vertx.java.platform.PlatformManagerException: Module io.vertx~lang-scala~0.2.0 contains an empty mod.json file
at org.vertx.java.platform.impl.DefaultPlatformManager.loadModuleConfig(DefaultPlatformManager.java:1084)
at org.vertx.java.platform.impl.DefaultPlatformManager.unzipModule(DefaultPlatformManager.java:1304)
at org.vertx.java.platform.impl.DefaultPlatformManager.doInstallMod(DefaultPlatformManager.java:1238)
at org.vertx.java.platform.impl.DefaultPlatformManager.doLoadIncludedModules(DefaultPlatformManager.java:1109)
at org.vertx.java.platform.impl.DefaultPlatformManager.loadIncludedModules(DefaultPlatformManager.java:1093)
at org.vertx.java.platform.impl.DefaultPlatformManager.doDeploy(DefaultPlatformManager.java:1489)
at org.vertx.java.platform.impl.DefaultPlatformManager.deployModuleFromModJson(DefaultPlatformManager.java:981)
at org.vertx.java.platform.impl.DefaultPlatformManager.deployModuleFromFileSystem(DefaultPlatformManager.java:1052)
at org.vertx.java.platform.impl.DefaultPlatformManager.access$1200(DefaultPlatformManager.java:58)
at org.vertx.java.platform.impl.DefaultPlatformManager$10.run(DefaultPlatformManager.java:395)
at org.vertx.java.platform.impl.DefaultPlatformManager$12.run(DefaultPlatformManager.java:420)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
I see that my mod.json in scala snapshot has following contents:
{
"description": "Scala language implementation module for Vert.x",
"licenses": ["The Apache Software License Version 2.0"],
"author": "Galder Zamarreño",
"developers": ["Stuart Williams",
"Edgar Chan",
"Nicolas Melendez",
"Joern Bernhardt",
"Ranie Jade Ramiso"
],
"keywords": ["scala", "language"],
"homepage": "https://github.com/vert-x/mod-lang-scala",
// Required for language modules
"system": true,
"resident": true
}
Can anyone please help me understand what might be going wrong here? I reset my .m2 repository and tried again, but I get the same failure.
Hi,
I am trying to run a vertx project ( https://github.com/campudus/vertx-json-schema-validator) module from my main appstart application in eclipse which DEPENDS on io.vertx~lang-scala~0.2.0.
I get the following error while deploying:
2014-07-29 17:36:22.730-0400 [vert.x-eventloop-thread-1] ERROR AppStartVerticle handle - jsonSchemaValidator deployment failed, cause = org.vertx.java.platform.PlatformManagerException: Module io.vertx~lang-scala~0.2.0 contains an empty mod.json file org.vertx.java.platform.PlatformManagerException: Module io.vertx~lang-scala~0.2.0 contains an empty mod.json file at org.vertx.java.platform.impl.DefaultPlatformManager.loadModuleConfig(DefaultPlatformManager.java:1084) at org.vertx.java.platform.impl.DefaultPlatformManager.unzipModule(DefaultPlatformManager.java:1304) at org.vertx.java.platform.impl.DefaultPlatformManager.doInstallMod(DefaultPlatformManager.java:1238) at org.vertx.java.platform.impl.DefaultPlatformManager.doLoadIncludedModules(DefaultPlatformManager.java:1109) at org.vertx.java.platform.impl.DefaultPlatformManager.loadIncludedModules(DefaultPlatformManager.java:1093) at org.vertx.java.platform.impl.DefaultPlatformManager.doDeploy(DefaultPlatformManager.java:1489) at org.vertx.java.platform.impl.DefaultPlatformManager.deployModuleFromModJson(DefaultPlatformManager.java:981) at org.vertx.java.platform.impl.DefaultPlatformManager.deployModuleFromFileSystem(DefaultPlatformManager.java:1052) at org.vertx.java.platform.impl.DefaultPlatformManager.access$1200(DefaultPlatformManager.java:58) at org.vertx.java.platform.impl.DefaultPlatformManager$10.run(DefaultPlatformManager.java:395) at org.vertx.java.platform.impl.DefaultPlatformManager$12.run(DefaultPlatformManager.java:420) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744)
I see that my mod.json in scala snapshot has following contents: { "description": "Scala language implementation module for Vert.x", "licenses": ["The Apache Software License Version 2.0"], "author": "Galder Zamarreño", "developers": ["Stuart Williams", "Edgar Chan", "Nicolas Melendez", "Joern Bernhardt", "Ranie Jade Ramiso" ], "keywords": ["scala", "language"], "homepage": "https://github.com/vert-x/mod-lang-scala",
// Required for language modules "system": true, "resident": true }
Can anyone please help me understand what might be going wrong here? I reset my .m2 repository and tried again, but I get the same failure.
Any help is appreciated. Thanks in advance.