Skip to content

Instantly share code, notes, and snippets.

@mks-d
Created September 18, 2016 13:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mks-d/12cbc79b1fafa24ee0c15b43ab50affe to your computer and use it in GitHub Desktop.
Save mks-d/12cbc79b1fafa24ee0c15b43ab50affe to your computer and use it in GitHub Desktop.
java.lang.ClassCastException: AdminList cannot be cast to org.openmrs.module.Extension
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/Volumes/Data/Users/dimitri/.m2/repository/org/slf4j/slf4j-simple/1.6.2/slf4j-simple-1.6.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/Volumes/Data/Users/dimitri/openmrs/dev_2_3/tmp/openmrs/WEB-INF/lib/slf4j-log4j12-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/private/var/folders/k_/k3v3c7hd15b71kjv55zq6j5w0000gn/T/1474199303972.openmrs-lib-cache/visitdocumentsui/lib/slf4j-log4j12-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
log4j:ERROR A "org.apache.log4j.xml.DOMConfigurator" object is not assignable to a "org.apache.log4j.spi.Configurator" variable.
log4j:ERROR The class "org.apache.log4j.spi.Configurator" was loaded by
log4j:ERROR [{ModuleClassLoader: uid=342916734; visitdocumentsui}] whereas object of type
log4j:ERROR "org.apache.log4j.xml.DOMConfigurator" was loaded by [{ModuleClassLoader: uid=1307493971; visitdocumentsui}].
log4j:ERROR Could not instantiate configurator [org.apache.log4j.xml.DOMConfigurator].
WARN - ModuleFactory.startModuleInternal(792) |2016-09-18 15:25:16,909| Error while trying to start module: visitdocumentsui
java.lang.ClassCastException: org.openmrs.module.visitdocumentsui.extension.html.AdminList cannot be cast to org.openmrs.module.Extension
at org.openmrs.module.Module.expandExtensionNames(Module.java:578)
at org.openmrs.module.Module.getExtensions(Module.java:529)
at org.openmrs.module.ModuleFactory.startModuleInternal(ModuleFactory.java:666)
at org.openmrs.api.context.Daemon$1.run(Daemon.java:68)
INFO - LoggingAdvice.invoke(115) |2016-09-18 15:25:16,980| In method AlertService.saveAlert. Arguments: Alert=Alert: #null,
INFO - LoggingAdvice.invoke(155) |2016-09-18 15:25:16,988| Exiting method saveAlert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment