Welcome to the Jazz Community Forum
Bundle Activator error while deploying created plugin to EWM 7.1 Development Server

We are migrating from EWM 7.0.2 SR1 to EWM 7.1. While redeploying a custom plugin to EWM 7.1, we encountered an error.
CRJAZ0307I Starting the bundle "com.jlr.rmdv.testtaskcreation.common 4.0.5".
CRJAZ0307I Starting the bundle "com.jlr.rmdv.testtaskcreation.service 4.0.7".
CRJAZ0291E The following bundle could not be started: com.jlr.rmdv.testtaskcreation.service 4.0.7. The server might need to be reprovisioned or reinstalled.
org.osgi.framework.BundleException: Error loading bundle activator.
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:786)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1015)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:365)
at org.eclipse.osgi.container.Module.doStart(Module.java:603)
at org.eclipse.osgi.container.Module.start(Module.java:467)
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:439)
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:458)
at com.ibm.team.repository.provision.internal.ProvisionService.startFeatureBundles(ProvisionService.java:1627)
at com.ibm.team.repository.provision.internal.ProvisionService.installFromProfiles(ProvisionService.java:1258)
at com.ibm.team.repository.provision.internal.ProvisionService.installFromProfileNoWait(ProvisionService.java:1361)
at com.ibm.team.repository.provision.internal.ProvisionService.installFromProfile(ProvisionService.java:1298)
at com.ibm.team.repository.provision.internal.ProvisionService.installFromContextConfigurationUrl(ProvisionService.java:1384)
at com.ibm.team.jfs.app.install.Activator$1.run(Activator.java:166)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.jlr.rmdv.testtaskcreation.service.Activator cannot be found by com.jlr.rmdv.testtaskcreation.service_4.0.7
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:516)
at org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:824)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:778)
... 13 more
CRJAZ0307I Starting the bundle "com.jlr.rmdv.testtaskcreation.service 4.0.7".
CRJAZ0291E The following bundle could not be started: com.jlr.rmdv.testtaskcreation.service 4.0.7. The server might need to be reprovisioned or reinstalled.
org.osgi.framework.BundleException: Error loading bundle activator.
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:786)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1015)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:365)
at org.eclipse.osgi.container.Module.doStart(Module.java:603)
at org.eclipse.osgi.container.Module.start(Module.java:467)
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:439)
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:458)
at com.ibm.team.repository.provision.internal.ProvisionService.startFeatureBundles(ProvisionService.java:1627)
at com.ibm.team.repository.provision.internal.ProvisionService.installFromProfiles(ProvisionService.java:1258)
at com.ibm.team.repository.provision.internal.ProvisionService.installFromProfileNoWait(ProvisionService.java:1361)
at com.ibm.team.repository.provision.internal.ProvisionService.installFromProfile(ProvisionService.java:1298)
at com.ibm.team.repository.provision.internal.ProvisionService.installFromContextConfigurationUrl(ProvisionService.java:1384)
at com.ibm.team.jfs.app.install.Activator$1.run(Activator.java:166)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.jlr.rmdv.testtaskcreation.service.Activator cannot be found by com.jlr.rmdv.testtaskcreation.service_4.0.7
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:516)
at org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:824)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:778)
... 13 more
I have checked the Activator class. Everything is fine in there. Tried restarting the server and reinstalling. Checked the dependencies also. There are 2 plugins, but getting error for service plugin only. ( com.jlr.rmdv.testtaskcreation.service)