Details

      Description

      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.sync.service.SyncPreferencesLocalService' defined in ServletContext resource [/WEB-INF/classes/META-INF/portlet-spring.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: com/liferay/oauth/model/OAuthApplication
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:529)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
      	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
      	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
      	at com.liferay.portal.spring.bean.BeanReferenceAnnotationBeanPostProcessor._autoInject(BeanReferenceAnnotationBeanPostProcessor.java:134)
      	at com.liferay.portal.spring.bean.BeanReferenceAnnotationBeanPostProcessor._autoInject(BeanReferenceAnnotationBeanPostProcessor.java:179)
      	at com.liferay.portal.spring.bean.BeanReferenceAnnotationBeanPostProcessor.postProcessBeforeInitialization(BeanReferenceAnnotationBeanPostProcessor.java:84)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:396)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1507)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
      	... 202 more
      Caused by: java.lang.NoClassDefFoundError: com/liferay/oauth/model/OAuthApplication
      	at java.lang.Class.getDeclaredMethods0(Native Method)
      	at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
      	at java.lang.Class.privateGetPublicMethods(Class.java:2902)
      	at java.lang.Class.getMethods(Class.java:1615)
      	at org.springframework.beans.ExtendedBeanInfoFactory.supports(ExtendedBeanInfoFactory.java:53)
      	at org.springframework.beans.ExtendedBeanInfoFactory.getBeanInfo(ExtendedBeanInfoFactory.java:45)
      	at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:270)
      	at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:195)
      	at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:321)
      	at org.springframework.beans.BeanWrapperImpl.getPropertyDescriptors(BeanWrapperImpl.java:328)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.filterPropertyDescriptorsForDependencyCheck(AbstractAutowireCapableBeanFactory.java:1305)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.filterPropertyDescriptorsForDependencyCheck(AbstractAutowireCapableBeanFactory.java:1285)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1143)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
      	... 213 more
      Caused by: java.lang.ClassNotFoundException: com.liferay.oauth.model.OAuthApplication cannot be found by sync-web_7.0.0.1
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:444)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:357)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:349)
      	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      	... 227 more
      07:41:25,613 ERROR [fileinstall-/Users/shinnlok/liferay/trunk/bundles/osgi/portal][PortletBeanLocatorUtil:42] BeanLocator is null for servlet context sync-web
      07:41:25,613 ERROR [liferay/sync_dl_file_version_diff_processor-1][PortletBeanLocatorUtil:42] BeanLocator is null for servlet context sync-web
      07:41:25,613 ERROR [fileinstall-/Users/shinnlok/liferay/trunk/bundles/osgi/portal][SyncServletContextListener:107] com.liferay.portal.kernel.bean.BeanLocatorException: BeanLocator is not set for servlet context sync-web
      com.liferay.portal.kernel.bean.BeanLocatorException: BeanLocator is not set for servlet context sync-web
      	at com.liferay.portal.kernel.bean.PortletBeanLocatorUtil.locate(PortletBeanLocatorUtil.java:46)
      	at com.liferay.sync.service.SyncDLObjectLocalServiceUtil.getService(SyncDLObjectLocalServiceUtil.java:323)
      	at com.liferay.sync.service.SyncDLObjectLocalServiceUtil.getLatestModifiedTime(SyncDLObjectLocalServiceUtil.java:221)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lr_sync LR Sync
                Reporter:
                shinn.lok Shinn Lok
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 35 weeks, 3 days ago

                  Packages

                  Version Package
                  Desktop-3.1.1 GA2
                  Connector-4.0.3