Question: I am using Platform 2.0.0-alpha version. When I install the Legacy UI, it gives the below error.
WARN - AbstractApplicationContext.refresh(487) |2016-03-11 10:57:17,114| Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'legacyUiUrlMapping' defined in URL [jar:file:/home/nadeeshani/Desktop/WSO2Products/zip%20download/tomcat/temp/1457674028856.openmrs-lib-cache/legacyui/legacyui.jar!/webModuleApplicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/jfree/data/time/RegularTimePeriod
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:547)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:762)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
at org.openmrs.module.ModuleUtil.refreshApplicationContext(ModuleUtil.java:842)
at org.openmrs.module.web.WebModuleUtil.refreshWAC(WebModuleUtil.java:866)
at org.openmrs.web.Listener.performWebStartOfModules(Listener.java:641)
at org.openmrs.web.Listener.performWebStartOfModules(Listener.java:620)
at org.openmrs.web.Listener.startOpenmrs(Listener.java:258)
at org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)
@wyclif, I think @michael’s point is that at least twice a week we see this
exact same exchange on the lists. Why not just do a quick 0.2 release and
save people the trouble? It doesn’t cost anything…
Yeah, this … basically the fact that the 0.1 release that’s out there is causing a lot of grief for people. Even 0.1.1 depending on what’s changed between then and now…
I have just released version 0.2 of the module. But i do not have permission to upload it to modulus.
Can the modulus admin give me the required permissions?
You may have better luck if you @-mention or otherwise contact the module’s owner (as listed at OpenMRS Add Ons) directly rather than an indirect statement like this.