adikaput290696

openmrs error

Aug 30th, 2021
32
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. The following error occurred at startup:
  2. Cannot load configuration class: org.openmrs.api.cache.CacheConfig
  3.  
  4. java.lang.IllegalStateException: Cannot load configuration class: org.openmrs.api.cache.CacheConfig
  5. at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:395)
  6. at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanFactory(ConfigurationClassPostProcessor.java:259)
  7. at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:265)
  8. at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:126)
  9. at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606)
  10. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:462)
  11. at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)
  12. at org.openmrs.web.Listener.contextInitialized(Listener.java:189)
  13. at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4961)
  14. at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5455)
  15. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  16. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
  17. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
  18. at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
  19. at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
  20. at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
  21. at java.base/java.lang.Thread.run(Thread.java:831)
  22. Caused by: java.lang.ExceptionInInitializerError
  23. at org.springframework.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:166)
  24. at org.springframework.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
  25. at org.springframework.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
  26. at org.springframework.cglib.core.KeyFactory$Generator.create(KeyFactory.java:144)
  27. at org.springframework.cglib.core.KeyFactory.create(KeyFactory.java:116)
  28. at org.springframework.cglib.core.KeyFactory.create(KeyFactory.java:108)
  29. at org.springframework.cglib.core.KeyFactory.create(KeyFactory.java:104)
  30. at org.springframework.cglib.proxy.Enhancer.(Enhancer.java:69)
  31. at org.springframework.context.annotation.ConfigurationClassEnhancer.newEnhancer(ConfigurationClassEnhancer.java:112)
  32. at org.springframework.context.annotation.ConfigurationClassEnhancer.enhance(ConfigurationClassEnhancer.java:100)
  33. at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:385)
  34. ... 16 more
  35. Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @1f798f1d
  36. at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:357)
  37. at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
  38. at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199)
  39. at java.base/java.lang.reflect.Method.setAccessible(Method.java:193)
  40. at org.springframework.cglib.core.ReflectUtils$2.run(ReflectUtils.java:56)
  41. at java.base/java.security.AccessController.doPrivileged(AccessController.java:312)
  42. at org.springframework.cglib.core.ReflectUtils.(ReflectUtils.java:46)
  43. ... 27 more
  44.  
  45.  
RAW Paste Data