Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-54937

NoClassDefFoundError occurred when start the portal

    Details

      Description

      Steps to reproduce:

      1. Update to latest master bundle and compile.
      2. Start master bundle.

      Expected result:
      No exception occurred.

      Actual result:
      NoClassDefFoundError occurred.

      02:13:01,175 ERROR [fileinstall-E:/bundles/osgi/portal][com_liferay_dynamic_data_mapping_form_values_factory:96] [com.liferay.dynamic.data.mapping.form.values.factory.internal.DDMFormValuesFactoryImpl(241)] Error during instantiation of the implementation object 
      java.lang.NoClassDefFoundError: com/liferay/portlet/dynamicdatamapping/model/Value
      	at java.lang.Class.getDeclaredConstructors0(Native Method)
      	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2493)
      	at java.lang.Class.getConstructor0(Class.java:2803)
      	at java.lang.Class.newInstance(Class.java:345)
      	at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:253)
      	at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:127)
      	at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:871)
      	at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:838)
      	at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:850)
      	at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:419)
      	at org.apache.felix.scr.impl.config.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:376)
      	at org.apache.felix.scr.impl.BundleComponentActivator.initialize(BundleComponentActivator.java:172)
      	at org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:120)
      	at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:258)
      	at org.apache.felix.scr.impl.Activator.access$000(Activator.java:45)
      	at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:185)
      	at org.apache.felix.utils.extender.AbstractExtender.createExtension(AbstractExtender.java:259)
      	at org.apache.felix.utils.extender.AbstractExtender.modifiedBundle(AbstractExtender.java:232)
      	at org.apache.felix.utils.extender.AbstractExtender.addingBundle(AbstractExtender.java:192)
      	at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:467)
      	at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:414)
      	at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
      	at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)
      	at org.osgi.util.tracker.BundleTracker.open(BundleTracker.java:156)
      	at org.apache.felix.utils.extender.AbstractExtender.startTracking(AbstractExtender.java:150)
      	at org.apache.felix.utils.extender.AbstractExtender.doStart(AbstractExtender.java:142)
      	at org.apache.felix.scr.impl.Activator.doStart(Activator.java:117)
      	at org.apache.felix.utils.extender.AbstractExtender.start(AbstractExtender.java:114)
      	at org.apache.felix.scr.impl.Activator.start(Activator.java:92)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:771)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:764)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721)
      	at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:941)
      	at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:318)
      	at org.eclipse.osgi.container.Module.doStart(Module.java:571)
      	at org.eclipse.osgi.container.Module.start(Module.java:439)
      	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:392)
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1175)
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1153)
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:458)
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:263)
      Caused by: java.lang.ClassNotFoundException: com.liferay.portlet.dynamicdatamapping.model.Value cannot be found by com.liferay.dynamic.data.mapping.form.values.factory_1.0.0
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:439)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:352)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:344)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              victor.ware Victor Ware
              Reporter:
              hong.zhao Hong Zhao (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 41 weeks, 2 days ago

                  Packages

                  Version Package
                  7.0.0 M5