---
title: "关于使用liferay+eclipse搭建开发环境的问题 "
author: "bilo"
date: "2007-07-25T08:40:52Z"
tags: []
categories: ["非技术"]
slug: "liferay-eclipse"
draft: false
lastmod: "2007-07-25T08:40:52Z"
id: 105289
url: "https://helo.iteye.com/blog/105289"
---

最近在开始看Portal方面的东西，所以想拿liferay练练手。
然后，我参考网上的一些资料做liferay的环境搭配，但build源码的时候start不过.

我改动的东西有： 
1.将release.properties配置文件改名为release.user.properties,并改动其中的 
lp.ext.dir=D:/liferay/ext 
2.将${WORKSPACE}/portal\tools\ext_tmpl\ext-ejb\classes下的 
portal-ext.properties文件，修改portal.release=enterprise为portal.release=professional。 
其余都没有动，然后开始执行clean,完成后执行start就报错了: 

```

Buildfile: D:\liferay\portal\build.xml 
start: 
compile: 
compile: 
[mkdir] Created dir: D:\liferay\portal\portal-kernel\classes 
[javac] Compiling 48 source files to D:\liferay\portal\portal-kernel\classes

BUILD FAILED 
D:\liferay\portal\build.xml:11: The following error occurred while executing this line: 
D:\liferay\portal\build.xml:129: The following error occurred while executing this line: 
D:\liferay\portal\build-common-java.xml:29: Error running jikes compiler

Total time: 6 seconds 


```

开始的时候按照网上的资料改了不少配置文件，但build不过，就开始逐渐减少，后来到啥也不改（就把源码导入eclipse建立“portal”项目），在ant中start的时候还是这个错。不知道是不是我的环境配置或者版本的原因？

环境： 
jkd 1.5.06 
liferay4.1.3源码包 
eclipse3.1 
myeclipse4.1.1GA 
tomcat5.5.12