Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Is Liferay 6.1 API backward compatible with Liferay 6.0 Nilesh Gundecha November 21, 2011 11:18 PM
RE: Is Liferay 6.1 API backward compatible with Liferay 6.0 Nagendra Kumar Busam November 21, 2011 11:37 PM
RE: Is Liferay 6.1 API backward compatible with Liferay 6.0 Nilesh Gundecha November 21, 2011 11:39 PM
RE: Is Liferay 6.1 API backward compatible with Liferay 6.0 João Cartaxo December 23, 2011 7:12 AM
RE: Is Liferay 6.1 API backward compatible with Liferay 6.0 Hitoshi Ozawa December 23, 2011 3:14 PM
RE: Is Liferay 6.1 API backward compatible with Liferay 6.0 Nilesh Gundecha December 25, 2011 8:20 PM
RE: Is Liferay 6.1 API backward compatible with Liferay 6.0 Hitoshi Ozawa December 26, 2011 3:17 AM
RE: Is Liferay 6.1 API backward compatible with Liferay 6.0 João Cartaxo January 10, 2012 9:32 AM
RE: Is Liferay 6.1 API backward compatible with Liferay 6.0 Mika Koivisto January 10, 2012 5:51 PM
RE: Is Liferay 6.1 API backward compatible with Liferay 6.0 Hitoshi Ozawa January 11, 2012 2:05 PM
RE: Is Liferay 6.1 API backward compatible with Liferay 6.0 Murali Karteek July 18, 2012 12:22 AM
RE: Is Liferay 6.1 API backward compatible with Liferay 6.0 Jaynil A Bagdai July 18, 2012 12:59 AM
RE: Is Liferay 6.1 API backward compatible with Liferay 6.0 Murali Karteek July 23, 2012 4:12 AM
RE: Is Liferay 6.1 API backward compatible with Liferay 6.0 Jaynil A Bagdai July 24, 2012 11:43 PM
RE: Is Liferay 6.1 API backward compatible with Liferay 6.0 Sergio Romero Zayas July 5, 2013 1:40 AM
Nilesh Gundecha
Is Liferay 6.1 API backward compatible with Liferay 6.0
November 21, 2011 11:18 PM
Answer

Nilesh Gundecha

Rank: Regular Member

Posts: 188

Join Date: November 30, 2009

Recent Posts

Friends,

I have developed plugin project for Liferay 6.0.6. With the release of Liferay 6.1, I plan to run this plugin on Liferay 6.1.

Is Liferay 6.1 API backward compatible with Liferay 6.0.6?

I tried deploying my plugin project and got exception from Spring framework as below -

  107:01:59,454 ERROR [PortletApplicationContext:87] org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean class [com.liferay.portal.sp
  2ring.annotation.BeanReferenceAnnotationBeanPostProcessor] not found
  3Offending resource: ServletContext resource [/WEB-INF/classes/META-INF/base-spring.xml]
  4Bean ''; nested exception is java.lang.ClassNotFoundException: com.liferay.portal.spring.annotation.BeanReferenceAnnotationBeanPostProcessor
  5org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean class [com.liferay.portal.spring.annotation.BeanReferenceAnnotationBeanPostPro
  6cessor] not found
  7Offending resource: ServletContext resource [/WEB-INF/classes/META-INF/base-spring.xml]
  8Bean ''; nested exception is java.lang.ClassNotFoundException: com.liferay.portal.spring.annotation.BeanReferenceAnnotationBeanPostProcessor
  9        at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)
 10        at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
 11        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.error(BeanDefinitionParserDelegate.java:291)
 12        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:491)
 13        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:396)
 14        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:365)
 15        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.processBeanDefinition(DefaultBeanDefinitionDocumentReader.java:258)
 16        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.java:153)
 17        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:132)
 18        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93)
 19        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
 20        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
 21        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
 22        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
 23        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
 24        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
 25        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
 26        at com.liferay.portal.spring.context.PortletApplicationContext.loadBeanDefinitions(PortletApplicationContext.java:76)
 27        at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
 28        at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
 29        at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
 30        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
 31        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
 32        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
 33        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
 34        at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialized(PortletContextLoaderListener.java:96)
 35        at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.doPortalInit(PortalClassLoaderServletContextListener.java:93)
 36        at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
 37        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:61)
 38        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:53)
 39        at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:50)
 40        at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.contextInitialized(PortalClassLoaderServletContextListener.java:52)
 41        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4723)
 42        at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226)
 43        at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221)
 44        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 45        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 46        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 47        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 48        at java.lang.Thread.run(Thread.java:619)
 49Caused by: java.lang.ClassNotFoundException: com.liferay.portal.spring.annotation.BeanReferenceAnnotationBeanPostProcessor
 50        at java.lang.ClassLoader.findClass(ClassLoader.java:359)
 51        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
 52        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
 53        at com.liferay.portal.spring.util.FilterClassLoader.loadClass(FilterClassLoader.java:41)
 54        at org.springframework.util.ClassUtils.forName(ClassUtils.java:257)
 55        at org.springframework.beans.factory.support.BeanDefinitionReaderUtils.createBeanDefinition(BeanDefinitionReaderUtils.java:63)
 56        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.createBeanDefinition(BeanDefinitionParserDelegate.java:616)
 57        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:472)
 58        ... 36 more
 5907:02:00,719 ERROR [PortletApplicationContext:87] org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean class [com.liferay.portal.da
 60o.shard.ShardAdvice] not found
 61Offending resource: ServletContext resource [/WEB-INF/classes/META-INF/shard-data-source-spring.xml]
 62Bean 'com.liferay.portal.dao.shard.ShardAdvice'; nested exception is java.lang.ClassNotFoundException: com.liferay.portal.dao.shard.ShardAdvice
 63org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean class [com.liferay.portal.dao.shard.ShardAdvice] not found
 64Offending resource: ServletContext resource [/WEB-INF/classes/META-INF/shard-data-source-spring.xml]
 65Bean 'com.liferay.portal.dao.shard.ShardAdvice'; nested exception is java.lang.ClassNotFoundException: com.liferay.portal.dao.shard.ShardAdvice
 66        at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)
 67        at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
 68        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.error(BeanDefinitionParserDelegate.java:291)
 69        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:491)
 70        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:396)
 71        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:365)
 72        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.processBeanDefinition(DefaultBeanDefinitionDocumentReader.java:258)
 73        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.java:153)
 74        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:132)
 75        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93)
 76        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
 77        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
 78        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
 79        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
 80        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
 81        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
 82        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
 83        at com.liferay.portal.spring.context.PortletApplicationContext.loadBeanDefinitions(PortletApplicationContext.java:76)
 84        at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
 85        at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
 86        at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
 87        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
 88        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
 89        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
 90        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
 91        at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialized(PortletContextLoaderListener.java:96)
 92        at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.doPortalInit(PortalClassLoaderServletContextListener.java:93)
 93        at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
 94        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:61)
 95        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:53)
 96        at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:50)
 97        at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.contextInitialized(PortalClassLoaderServletContextListener.java:52)
 98        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4723)
 99        at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226)
100        at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221)
101        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
102        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
103        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
104        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
105        at java.lang.Thread.run(Thread.java:619)
106Caused by: java.lang.ClassNotFoundException: com.liferay.portal.dao.shard.ShardAdvice
107        at java.lang.ClassLoader.findClass(ClassLoader.java:359)
108        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
109        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
110        at com.liferay.portal.spring.util.FilterClassLoader.loadClass(FilterClassLoader.java:41)
111        at org.springframework.util.ClassUtils.forName(ClassUtils.java:257)
112        at org.springframework.beans.factory.support.BeanDefinitionReaderUtils.createBeanDefinition(BeanDefinitionReaderUtils.java:63)
113        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.createBeanDefinition(BeanDefinitionParserDelegate.java:616)
114        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:472)
115        ... 36 more
11607:02:01,927 ERROR [ContextLoader:220] Context initialization failed
117org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liferaySessionFactory' defined in ServletContext resource [/WEB-INF/classes/META-INF/hiberna
118te-spring.xml]: Cannot resolve reference to bean 'portletClassLoader' while setting bean property 'sessionFactoryClassLoader'; nested exception is org.springframework.beans.factory
119.NoSuchBeanDefinitionException: No bean named 'portletClassLoader' is defined


Any ideas?

Regards,
Nilesh
Nagendra Kumar Busam
RE: Is Liferay 6.1 API backward compatible with Liferay 6.0
November 21, 2011 11:37 PM
Answer

Nagendra Kumar Busam

Rank: Liferay Master

Posts: 598

Join Date: July 7, 2009

Recent Posts

Hi Nilesh,

Did you run the ant build-service once again with LR 6.1?

You know dtd declarations at top will vary from 6.0 to 6.1

If you can try to add source code, will have a look

Thanks,
- Nagendra Kumar
Nilesh Gundecha
RE: Is Liferay 6.1 API backward compatible with Liferay 6.0
November 21, 2011 11:39 PM
Answer

Nilesh Gundecha

Rank: Regular Member

Posts: 188

Join Date: November 30, 2009

Recent Posts

Thanks for prompt reply.

I will try out this and get back here.

Regards,
Nilesh
João Cartaxo
RE: Is Liferay 6.1 API backward compatible with Liferay 6.0
December 23, 2011 7:12 AM
Answer

João Cartaxo

Rank: New Member

Posts: 9

Join Date: October 10, 2011

Recent Posts

Hello,

I'm having the same problem... I have tried the ant-service build with Liferay-6.1-RC-SDK but the issue remains.

First, when I deploy it to the server I get this:

 1
 2 ERROR [BaseDeployer:322] Unable to copy portal TLD liferay-aui.tld
 3java.lang.NullPointerException
 4        at java.io.File.<init>(File.java:222)
 5        at com.liferay.portal.util.FileImpl.copyFile(FileImpl.java:161)
 6        at com.liferay.portal.kernel.util.FileUtil.copyFile(FileUtil.java:54)
 7        at com.liferay.portal.tools.deploy.BaseDeployer.copyPortalDependencies(BaseDeployer.java:318)
 8        at com.liferay.portal.tools.deploy.BaseDeployer.deployDirectory(BaseDeployer.java:524)
 9        at com.liferay.portal.tools.deploy.BaseDeployer.deployFile(BaseDeployer.java:889)
10        at com.liferay.portal.tools.deploy.BaseDeployer.deployFile(BaseDeployer.java:819)
11        at com.liferay.portal.deploy.auto.PortletAutoDeployer.autoDeploy(PortletAutoDeployer.java:96)
12        at com.liferay.portal.deploy.auto.PortletAutoDeployListener.deploy(PortletAutoDeployListener.java:78)
13        at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.processFile(AutoDeployDir.java:180)
14        at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.scanDirectory(AutoDeployDir.java:222)
15        at com.liferay.portal.kernel.deploy.auto.AutoDeployScanner.run(AutoDeployScanner.java:50)
16  Copying 180 files to /usr/local/liferay/tomcat/webapps/mintrans-LinkManagerV2-portlet
17  Copying 1 file to /usr/local/liferay/tomcat/webapps/mintrans-LinkManagerV2-portlet
18  Deleting directory /usr/local/liferay/tomcat/temp/20111223150110406
19 INFO  [PortletAutoDeployListener:81] Portlets for /usr/local/liferay/deploy/mintrans-LinkManagerV2-portlet.war copied successfully. Deployment will start in a few seconds.




And when the actual deploy process starts, I get this:

 1
 2ERROR [PortletApplicationContext:87] org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean class [com.liferay.portal.spring.annotation.BeanReferenceAnnotationBeanPostProcessor] not found
 3Offending resource: ServletContext resource [/WEB-INF/classes/META-INF/base-spring.xml]
 4Bean ''; nested exception is java.lang.ClassNotFoundException: com.liferay.portal.spring.annotation.BeanReferenceAnnotationBeanPostProcessor
 5org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean class [com.liferay.portal.spring.annotation.BeanReferenceAnnotationBeanPostProcessor] not found
 6Offending resource: ServletContext resource [/WEB-INF/classes/META-INF/base-spring.xml]
 7Bean ''; nested exception is java.lang.ClassNotFoundException: com.liferay.portal.spring.annotation.BeanReferenceAnnotationBeanPostProcessor
 8        at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)
 9        at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
10        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.error(BeanDefinitionParserDelegate.java:291)
11        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:491)
12        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:396)
13        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:365)
14        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.processBeanDefinition(DefaultBeanDefinitionDocumentReader.java:258)
15        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.java:153)
16        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:132)
17        at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93)
18        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
19        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
20        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
21        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
22        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
23        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
24        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
25        at com.liferay.portal.spring.context.PortletApplicationContext.loadBeanDefinitions(PortletApplicationContext.java:76)
26        at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
27        at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
28        at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
29        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
30        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
31        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
32        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
33        at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialized(PortletContextLoaderListener.java:99)
34        at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.doPortalInit(PortalClassLoaderServletContextListener.java:91)
35        at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
36        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:61)
37        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:53)
38        at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
39        at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.contextInitialized(PortalClassLoaderServletContextListener.java:50)
40        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4765)
41        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5260)
42        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
43        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
44        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:842)
45        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
46        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
47        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
48        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
49        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
50        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
51        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
52        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
53        at java.lang.Thread.run(Thread.java:662)
54Caused by: java.lang.ClassNotFoundException: com.liferay.portal.spring.annotation.BeanReferenceAnnotationBeanPostProcessor
55        at java.lang.ClassLoader.findClass(ClassLoader.java:358)
56        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
57        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
58        at com.liferay.portal.spring.util.FilterClassLoader.loadClass(FilterClassLoader.java:41)
59        at org.springframework.util.ClassUtils.forName(ClassUtils.java:257)
60        at org.springframework.beans.factory.support.BeanDefinitionReaderUtils.createBeanDefinition(BeanDefinitionReaderUtils.java:63)
61        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.createBeanDefinition(BeanDefinitionParserDelegate.java:616)
62        at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:472)
63        ... 42 more



Can someone help me please?
Hitoshi Ozawa
RE: Is Liferay 6.1 API backward compatible with Liferay 6.0
December 23, 2011 3:14 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

I've tried Liferay 6.1 and it seems some API as missing and some have been modified.
That is, it's not 100% backward compatible. (sigh)
Nilesh Gundecha
RE: Is Liferay 6.1 API backward compatible with Liferay 6.0
December 25, 2011 8:20 PM
Answer

Nilesh Gundecha

Rank: Regular Member

Posts: 188

Join Date: November 30, 2009

Recent Posts

Hitoshi Ozawa:
I've tried Liferay 6.1 and it seems some API as missing and some have been modified.
That is, it's not 100% backward compatible. (sigh)



Right, I found the mostly the API changes are in ImageGallery, Organization, etc.

Regards,
Nilesh.
Hitoshi Ozawa
RE: Is Liferay 6.1 API backward compatible with Liferay 6.0
December 26, 2011 3:17 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

I remember Jorge? making a remark earlier this year about changing one interface, but it seems there's actually more.
I'm not sure if this is an oversight or if it's deliberately been changed. emoticon

It, also, seems 6.1.0RC changed some packaging and some functionalities which implies it's actually in alpha testing still
in terms of normal release term usage. I'm very curious on what going to be released by the end of this year if something
is actually going to be released.
João Cartaxo
RE: Is Liferay 6.1 API backward compatible with Liferay 6.0
January 10, 2012 9:32 AM
Answer

João Cartaxo

Rank: New Member

Posts: 9

Join Date: October 10, 2011

Recent Posts

Has anybody else found this problem as well?

After the official release of Liferay 6.1 CE GA-1 I was hopping that this might be solved, but it isn't....
Mika Koivisto
RE: Is Liferay 6.1 API backward compatible with Liferay 6.0
January 10, 2012 5:51 PM
Answer

Mika Koivisto

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1499

Join Date: August 7, 2006

Recent Posts

There has been many major changes so the API will not be 100% compatible. When ever you deploy a plugin that uses servicebuilder to another version you must rerun ant build-service. That should regenerate everything to match the new version. If it still complains of servicebuilder generated file try removing the old ones and rerun ant build-service. Also I think liferay-aui.tld was renamed aui.tld.
Hitoshi Ozawa
RE: Is Liferay 6.1 API backward compatible with Liferay 6.0
January 11, 2012 2:05 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

Mika, it's not just some arguments to the APIs has changed or that some API names have changed, some APIs are still "missing" from Liferay 6.1 that were present in 6.0.x.

It's really not a major problem because they can easily be added back in but it really should be supported in Liferay 6.1 instead of users having to do this.
Murali Karteek
RE: Is Liferay 6.1 API backward compatible with Liferay 6.0
July 18, 2012 12:22 AM
Answer

Murali Karteek

Rank: Junior Member

Posts: 36

Join Date: March 5, 2012

Recent Posts

HI all,

How can we add API of 6.0 to 6.1
.
Please Help me in fixing these iissues.

Thanks and Regards,
Karteek
Jaynil A Bagdai
RE: Is Liferay 6.1 API backward compatible with Liferay 6.0
July 18, 2012 12:59 AM
Answer

Jaynil A Bagdai

Rank: Regular Member

Posts: 119

Join Date: March 3, 2012

Recent Posts

Hi Karteek,

As what ever the API you use in 6.0 will be available in 6.1 unless and until its not deprecated.
Can you please post your issue in detail that what API you are not able to access in 6.1?

Thanks,
Jaynil
Murali Karteek
RE: Is Liferay 6.1 API backward compatible with Liferay 6.0
July 23, 2012 4:12 AM
Answer

Murali Karteek

Rank: Junior Member

Posts: 36

Join Date: March 5, 2012

Recent Posts

Hi Jaynil A Bagdai,
Thanks for your reply.
I want to upgrade my project from 6.0 to 6.1, I have followed the steps from guide.
I think it has upgraded well but it is throwing bean errors and some other errors while my portlets are deploying.

For your reference, I have attached the file to this reply.
Attachments: error.txt (140.9k)
Jaynil A Bagdai
RE: Is Liferay 6.1 API backward compatible with Liferay 6.0
July 24, 2012 11:43 PM
Answer

Jaynil A Bagdai

Rank: Regular Member

Posts: 119

Join Date: March 3, 2012

Recent Posts

Hi Karteek,

One of the exception lines showing like below

"Caused by: com.liferay.portal.OldServiceComponentException: Build namespace LCMSContent has build number 337 which is newer than 328"


to remove that exception go to service.properties file for which you are making service.xml and modify build number as 337.

Moreover bean exception for

Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'com.liferay.portlet.imagegallery.service.IGFolderService' is defined


version 6.1 do not have API with this name so you are getting exceptions for those kind of bean classes.

Can you please try to check compilation errors in your project by importing it to IDE..

Thanks,
Jaynil
Sergio Romero Zayas
RE: Is Liferay 6.1 API backward compatible with Liferay 6.0
July 5, 2013 1:40 AM
Answer

Sergio Romero Zayas

Rank: Regular Member

Posts: 114

Join Date: April 14, 2008

Recent Posts

Mika Koivisto:
There has been many major changes so the API will not be 100% compatible. When ever you deploy a plugin that uses servicebuilder to another version you must rerun ant build-service. That should regenerate everything to match the new version. If it still complains of servicebuilder generated file try removing the old ones and rerun ant build-service. Also I think liferay-aui.tld was renamed aui.tld.


What we do with package classes com.liferay.portlet.image gallery. *?

DuplicateImageNameException
ImageNameException
ImageSizeException
etc.

When we portlets in 6.0.x, and we need up to version 6.1.x

What we do?

Is there any part of the web where developments are cited so that the developer can migrate your portlets to the new version?

Sorry for my English. thanks in advance.

emoticon