modules Developer System Administrator Jahia 8

Unable to install a module after migrating to Jahia 8

Question

After migrating to Jahia 8, a customer module failed to install with the following error message:

Installation failed for bundles [file [/jahia/tomcat/temp/module-10807983150622700731.jar]] on target null (took 3585 ms). 

Operation error: org.jahia.services.modulemanager.ModuleNotFoundException: Unable to find a module bundle corresponding to the key: org.jahia.modules/myTest-templateset/1.0.0.102020-09-07 18:28:59,515: INFO  [ModuleManagerImpl] - Installation failed for bundles [file [/jahia/jahia-8000-disc/tomcat/temp/module-108079831

 

Cause

Starting from Jahia 8, the "org.jahia.modules" group id is now reserved for Jahia modules only. You will need to update your modules with another group id to fix this issue.

Solution

The solution here is to change the Maven Group Id of the modules (in the pom.xml file) to something other than "org.jahia.modules" which is now reserved for the official Jahia modules. Please make sure to check the Jahia version 8 migration guide for a smooth migration.