Getting an error during the installation

I m getting below error when installing the openmrs core.

class jdk.proxy5.$Proxy183 cannot be cast to class org.openmrs.api.impl.UserServiceImpl (jdk.proxy5.$Proxy183 is in module jdk.proxy5 of loader org.openmrs.util.OpenmrsClassLoader @5e6522a6; org.openmrs.api.impl.UserServiceImpl is in unnamed module of loader org.eclipse.jetty.webapp.WebAppClassLoader @1e545821) Unable to complete the startup.

Can anyone please help me resolve this?

what is the java version ? maven version?

Apache Maven: 3.8.8 and Java version: 17.0.8

try with java 1.8.261

1 Like

it worked!! thank you…!

1 Like