liferay 6.1 service builder和liferay 6.0之间的差异

时间:2012-01-12 09:36:28

标签: web-services liferay

我想在liferay 6.1中创建Web服务。但是,如果我做这样的事情,比如在liferay 6.0中我有像java.io.IOException: Type {http://model.test.liferay.com}xxxx is referenced but not defined.

这样的错误

2 个答案:

答案 0 :(得分:1)

我们也遇到了这个错误。我已经在liferay论坛上多次发布并直接与他们联系(企业客户),但没有人关心。

所以我们通过保留6.0.6版本来修复它

答案 1 :(得分:0)

在发现这些API更改后我放弃了。

in docroot/WEB-INF/src/META-INF/shard-data-source-spring.xml    
6.0.6:
com.liferay.portal.dao.shard.ShardAdvice
6.1:
com.liferay.portal.dao.shard.advice.ShardAdvice 

docroot/WEB-INF/src/META-INF/base-spring.xml    
6.0.6
com.liferay.portal.spring.annotation.BeanReferenceAnnotationBeanPostProcessor
6.1
com.liferay.portal.spring.bean.BeanReferenceAnnotationBeanPostProcessor

在6.0.6上开发并在6.1上部署似乎并不那么容易。 (反之亦然,我没试过)

相关问题