- 浏览: 51907 次
最新评论
build-service 出现liferay at java.util.regex.Pattern$Curly.match0。。。。。
解决方法:
\plugins-sdk\build-common-plugin.xml 加入红色字体语句: (from boom)
<java
classname="com.liferay.portal.tools.servicebuilder.ServiceBuilder"
classpathref="service.classpath"
fork="true"
maxmemory="256m"
newenvironment="true"
>
<jvmarg value="-Dexternal-properties=com/liferay/portal/tools/dependencies/portal-tools.properties" />
<jvmarg value="-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger" />
<jvmarg value="-Dservice.input.file=${service.input.file}" />
<jvmarg value="-Dservice.hbm.file=docroot/WEB-INF/src/META-INF/portlet-hbm.xml" />
<jvmarg value="-Dservice.orm.file=docroot/WEB-INF/src/META-INF/portlet-orm.xml" />
<jvmarg value="-Dservice.model.hints.file=docroot/WEB-INF/src/META-INF/portlet-model-hints.xml" />
<jvmarg value="-Dservice.spring.file=docroot/WEB-INF/src/META-INF/portlet-spring.xml" />
<jvmarg value="-Dservice.spring.base.file=docroot/WEB-INF/src/META-INF/base-spring.xml" />
<jvmarg value="-Dservice.spring.cluster.file=docroot/WEB-INF/src/META-INF/cluster-spring.xml" />
<jvmarg value="-Dservice.spring.dynamic.data.source.file=docroot/WEB-INF/src/META-INF/dynamic-data-source-spring.xml" />
<jvmarg value="-Dservice.spring.hibernate.file=docroot/WEB-INF/src/META-INF/hibernate-spring.xml" />
<jvmarg value="-Dservice.spring.infrastructure.file=docroot/WEB-INF/src/META-INF/infrastructure-spring.xml" />
<jvmarg value="-Dservice.spring.shard.data.source.file=docroot/WEB-INF/src/META-INF/shard-data-source-spring.xml" />
<jvmarg value="-Dservice.api.dir=docroot/WEB-INF/service" />
<jvmarg value="-Dservice.impl.dir=docroot/WEB-INF/src" />
<jvmarg value="-Dservice.json.file=docroot/js/service.js" />
<jvmarg value="-Dservice.sql.dir=docroot/WEB-INF/sql" />
<jvmarg value="-Dservice.sql.file=tables.sql" />
<jvmarg value="-Dservice.sql.indexes.file=indexes.sql" />
<jvmarg value="-Dservice.sql.indexes.properties.file=indexes.properties" />
<jvmarg value="-Dservice.sql.sequences.file=sequences.sql" />
<jvmarg value="-Dservice.auto.namespace.tables=true" />
<jvmarg value="-Dservice.bean.locator.util=com.liferay.util.bean.PortletBeanLocatorUtil" />
<jvmarg value="-Dservice.props.util=com.liferay.util.service.ServiceProps" />
<jvmarg value="-Dservice.plugin.name=${plugin.name}" />
<jvmarg value="-Xss512k" />
</java>
解决方法:
\plugins-sdk\build-common-plugin.xml 加入红色字体语句: (from boom)
<java
classname="com.liferay.portal.tools.servicebuilder.ServiceBuilder"
classpathref="service.classpath"
fork="true"
maxmemory="256m"
newenvironment="true"
>
<jvmarg value="-Dexternal-properties=com/liferay/portal/tools/dependencies/portal-tools.properties" />
<jvmarg value="-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger" />
<jvmarg value="-Dservice.input.file=${service.input.file}" />
<jvmarg value="-Dservice.hbm.file=docroot/WEB-INF/src/META-INF/portlet-hbm.xml" />
<jvmarg value="-Dservice.orm.file=docroot/WEB-INF/src/META-INF/portlet-orm.xml" />
<jvmarg value="-Dservice.model.hints.file=docroot/WEB-INF/src/META-INF/portlet-model-hints.xml" />
<jvmarg value="-Dservice.spring.file=docroot/WEB-INF/src/META-INF/portlet-spring.xml" />
<jvmarg value="-Dservice.spring.base.file=docroot/WEB-INF/src/META-INF/base-spring.xml" />
<jvmarg value="-Dservice.spring.cluster.file=docroot/WEB-INF/src/META-INF/cluster-spring.xml" />
<jvmarg value="-Dservice.spring.dynamic.data.source.file=docroot/WEB-INF/src/META-INF/dynamic-data-source-spring.xml" />
<jvmarg value="-Dservice.spring.hibernate.file=docroot/WEB-INF/src/META-INF/hibernate-spring.xml" />
<jvmarg value="-Dservice.spring.infrastructure.file=docroot/WEB-INF/src/META-INF/infrastructure-spring.xml" />
<jvmarg value="-Dservice.spring.shard.data.source.file=docroot/WEB-INF/src/META-INF/shard-data-source-spring.xml" />
<jvmarg value="-Dservice.api.dir=docroot/WEB-INF/service" />
<jvmarg value="-Dservice.impl.dir=docroot/WEB-INF/src" />
<jvmarg value="-Dservice.json.file=docroot/js/service.js" />
<jvmarg value="-Dservice.sql.dir=docroot/WEB-INF/sql" />
<jvmarg value="-Dservice.sql.file=tables.sql" />
<jvmarg value="-Dservice.sql.indexes.file=indexes.sql" />
<jvmarg value="-Dservice.sql.indexes.properties.file=indexes.properties" />
<jvmarg value="-Dservice.sql.sequences.file=sequences.sql" />
<jvmarg value="-Dservice.auto.namespace.tables=true" />
<jvmarg value="-Dservice.bean.locator.util=com.liferay.util.bean.PortletBeanLocatorUtil" />
<jvmarg value="-Dservice.props.util=com.liferay.util.service.ServiceProps" />
<jvmarg value="-Dservice.plugin.name=${plugin.name}" />
<jvmarg value="-Xss512k" />
</java>
发表评论
-
AOP
2017-02-28 13:14 446http://blog.csdn.net/moreev ... -
liferay 6.1 CE + LDAP 导入自定义字段
2013-12-21 16:06 867导入自定义字段时无论如何尝试都不成功,但是自定义字段的值导 ... -
liferay 6.1 CE LDAP
2013-12-14 14:20 2282goole了许多网页,讲的是五花八门,最后想起来去port ... -
research
2013-12-10 10:42 0<aui:select label="typ ... -
fetch 与 find 的区别
2013-11-11 09:55 871liferay中 findxxxx 与fetchxxx 方 ... -
liferay 一对多 多对多 关系 (model)
2013-11-07 11:24 610通过model层实现 例如 people 与 ad ... -
liferay 一对多 多对多 关系 (build-service)
2013-11-07 11:04 634通过配置service.xml 实现 说明:一对多 ... -
liferay Logical Architecture
2013-09-11 15:20 1151Logical Architecture 详 ... -
liferay 文件下载失败
2013-07-01 14:48 541现象: http://issues.liferay.com/ ... -
403
2013-06-05 16:41 0portal.properties auth.forward ... -
[转] Liferay多数据源配置及开发
2013-06-05 16:16 724http://www.chinasb.org/archives ... -
aui-autocomplete [ 三 ] 源码解析
2013-01-09 09:53 1557懒了, 只翻译几个目前用到的属性,其实英文写的很明白的,需要花 ... -
aui-autocomplete [ 二 ] 验证未通过保留输入值
2013-01-09 09:25 821<% long myUserId = ParamU ... -
aui-autocomplete [ 一 ] override
2013-01-08 13:58 817liferay aui-autocomplete 如: 数据 ... -
Liferay AutoFields 添加事件
2013-01-08 09:30 0new Liferay.AutoFields( ... -
web app timezone (view-business-db)
2013-01-07 11:50 1209目标:面向多区域用户 添加更新记录:用户输入本区域时间, 数据 ... -
liferay auto_filed
2012-12-03 14:51 746new Liferay.AutoFields( ... -
actionurl 参数顺序
2012-10-19 14:16 1466PortletURL editURL = renderResp ... -
java.lang.ClassCastException: java.math.BigInteger cannot be cast to java.lang.
2012-10-19 14:06 3994现象: liferay中查询数据,用到如下语句 select ... -
Unable to find required classes (javax.activation.DataHandler and javax.mail.int
2012-09-04 13:41 9652.1.8 错误原因: 需要mail.jar和activat ...
相关推荐
此文档包括liferay的安装教程,和eclipes集成,如何运行,配置数据库,简单的项目创建,portlet的添加使用,如何和数据库打交道,此文档以mysql为主,适合零基础刚入门的查看
NULL 博文链接:https://huahuaren.iteye.com/blog/1260568
liferay资料\Liferay.Portal.Enterprise.Intranets.April.2008liferay资料\Liferay.Portal.Enterprise.Intranets.April.2008
Liferay7.0 通过JPM安装Blade CLi时[ZipFile.open] error in opening zip file ,将此包下载至本地,执行安装命令可解决:http://blog.csdn.net/u012551585/article/details/54346457
Packtpub.Liferay.User.Interface.Development.Nov.2010.rar
Packtpub.Liferay.Portal.6.Enterprise.Intranets.May.2010.rar
import com.liferay.portal.kernel.util.StringBundler; StringBundler jsonStr1 = new StringBundler(150); 操作如StringBuilder,相同
Packt.Publishing.Liferay.Portal.Enterprise.Intranets
Liferay门户手册 .pdf
liferay 学习 Liferay-使用手册.pdf
liferay开发文档.pdf
最新版的liferay in action.pdf,2011年,6.1版
1 What is Liferay? 1 1.1 Building a site with Liferay Web Content . . . . . . . . . . . . . . . . . 1 1.2 Using Liferay Portal as a collaborative platform . . . . . . . . . . . . . . 6 1.3 Using ...
Liferay 6.0.5 portal.properties 配置文件详解 详细说明了 portal.properties 配置文件可以配置的所有属性
第一本Liferay书籍,难得啊。
Liferay Themes[1].pdf Liferay+CMS系统培训.ppt Liferay+Portal+数据库介绍+.doc Liferay+权限管理.doc liferay-portal-5-2-systems-development-sample-chapter-5-managing-pages[1].pdf ...
本资源纯粹为个人笔记,当然有需要的可以下载,但是别喷,本人刚学SpringMVC
Liferay is a different portal. 10分下载的, 打包5折提供下载. Part 1 Introduction to Liferay 1. Liferay is a different portal 2. Getting started with the Liferay development platform Part 2 Adding ...