java.lang.NoClassDefFoundError: org.eclipse.ocl.AbstractTypeResolver$ResolveSwitch

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by karthick229
, 9 months ago
org.eclipse.ocl.AbstractTypeResolver$ResolveSwitch
via GitHub by swmuir
, 6 months ago
org.eclipse.ocl.AbstractTypeResolver$ResolveSwitch
java.lang.NoClassDefFoundError: org.eclipse.ocl.AbstractTypeResolver$ResolveSwitch
at org.eclipse.ocl.AbstractTypeResolver.(AbstractTypeResolver.java:66)
at org.eclipse.ocl.ecore.internal.TypeResolverImpl.(TypeResolverImpl.java:56)
at org.eclipse.ocl.ecore.EcoreEnvironment.createTypeResolver(EcoreEnvironment.java:310)
at org.eclipse.ocl.ecore.EcoreEnvironment.(EcoreEnvironment.java:160)
at org.eclipse.ocl.ecore.EcoreEnvironmentFactory.createEnvironment(EcoreEnvironmentFactory.java:107)
at org.eclipse.ocl.OCL.(OCL.java:96)
at org.eclipse.ocl.ecore.OCL.(OCL.java:84)
at org.eclipse.ocl.ecore.OCL.newInstance(OCL.java:123)
at org.openhealthtools.mdht.uml.cda.util.CDAUtil.(CDAUtil.java:1207)
at org.openhealthtools.mdht.uml.cda.util.AnnotationBasedInitializer.initialize(AnnotationBasedInitializer.java:46)
at org.openhealthtools.mdht.emf.runtime.util.Initializer$Util.init(Initializer.java:465)
at org.openhealthtools.mdht.emf.runtime.util.Initializer$Util.init(Initializer.java:459)
at org.openhealthtools.mdht.emf.runtime.util.Initializer$Util.init(Initializer.java:437)
at org.openhealthtools.mdht.uml.cda.ccd.impl.ContinuityOfCareDocumentImpl.init(ContinuityOfCareDocumentImpl.java:544)
at com.animedix.health_hive.Ccd.createccd(Ccd.java:48)
at com.animedix.health_hive.access.MainActivity.onCreate(MainActivity.java:66)
at android.app.Activity.performCreate(Activity.java:6543)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1113)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2513)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.