Troubleshooting Compilation
1. If you are attempting to build and you see the following error:
No supported regular expression matcher found: java.lang.ClassNotFoundException: org.apache.tools.ant.util.regexp.Jdk14RegexpRegexp
Or something similar, you need to install additional optional ant jars. On Ubuntu, try
apt-get install ant-optional
Thanks to the eflow blog: http://blog.eflow.org/archives/22
2. Problem :
If you see any of the following error while loading the module like :
Unable to load/find moduleActivator: 'org.openmrs.module.basicmodule-parent.MyFirstActivator'
Solution :
Go to the <module omod file> 's pom.xml file and replace the following :
<MODULE_ID>${project.parent.artifactId}
</MODULE_ID>
with the following
<MODULE_ID>${artifactId}
</MODULE_ID>
Resources :
1.https://openmrs.atlassian.net/wiki/display/IRC/2011-06-14+-+OpenMRS#133857
2.https://openmrs.atlassian.net/wiki/display/IRC/2011-06-06+-+OpenMRS#190718
3.https://openmrs.atlassian.net/wiki/display/IRC/2011-05-18+-+OpenMRS#170414