Liferay:向导安装后缺少字段?

时间:2019-08-05 12:51:51

标签: liferay liferay-7 liferay-7.1

一个同事刚刚设置了一个本地liferay dxp 7.1实例(个性化),然后尝试从另一个7.1实例导入LAR文件。

对我来说,它奏效了(postgres),他遇到有关字段缺失的错误:

No such field com.liferay.portal.model.impl.GroupImpl._originalName
---- Debugging information ----
message : No such field
com.liferay.portal.model.impl.GroupImpl._originalName
field : _originalName
class : com.liferay.portal.model.impl.GroupImpl
required-type : com.liferay.portal.model.impl.GroupImpl
converter-type : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
path : /StagedGroup/_group/_originalName
line number : 32 class[1] : com.liferay.site.internal.model.adapter.StagedGroupImpl
version : 1.4.10

由于车票总是很耗时,所以我想先问一下有人是否对潜在问题有任何提示...

1 个答案:

答案 0 :(得分:1)

根据您提供的有限信息很难说。 这里有几件事需要仔细检查:

  • 通过网络传输时LAR文件没有损坏
  • Liferay DXP的两个实例完全相同(包括Service Pack)
  • 两个实例都安装了相同的修补程序
  • 两个实例对于导入的网站都具有相同的登台配置
  • 两个实例都具有用于自定义导入/导出行为的相同插件/挂钩

如果这些到位并且您仍然有问题,请打开支持通知单。

我不认为这是与数据库有关的问题,但要排除在外,您可以将实例切换为hypersonic并尝试导入。