[安装] liferay-portal-ext-5.1.0搭建开发环境有问题
liuwenbo200285
2009-08-02
把下载的解压后导入到eclipse中,修改app.server.properties为
app.server.type=tomcat ## ## Tomcat ## app.server.tomcat.version=5.5 app.server.tomcat.dir=${project.dir}/../tomcat app.server.tomcat.bin.dir=${app.server.tomcat.dir}/bin app.server.tomcat.classes.global.dir=${app.server.tomcat.dir}/common/classes app.server.tomcat.classes.portal.dir=${app.server.tomcat.portal.dir}/WEB-INF/classes app.server.tomcat.deploy.dir=${app.server.tomcat.dir}/webapps app.server.tomcat.lib.endorsed.dir=${app.server.tomcat.dir}/common/endorsed app.server.tomcat.lib.global.dir=${app.server.tomcat.dir}/common/lib/ext app.server.tomcat.lib.portal.dir=${app.server.tomcat.portal.dir}/WEB-INF/lib app.server.tomcat.lib.support.dir=${app.server.tomcat.dir}/server/lib app.server.tomcat.portal.dir=${app.server.tomcat.deploy.dir}/ROOT app.server.tomcat.log.dir=${app.server.tomcat.dir}/logs app.server.tomcat.temp.dir=${app.server.tomcat.dir}/temp app.server.tomcat.work.dir=${app.server.tomcat.dir}/work app.server.tomcat.zip.name=liferay-portal-tomcat-5.5-${downloads.version}.zip app.server.tomcat.zip.url=${sourceforge.mirror}/${app.server.tomcat.zip.name} build成功后启动报错: 23:21:06,953 ERROR [[/]:3715] Error configuring application listener of class com.liferay.portal.servlet.PortalSessionListener java.lang.NoClassDefFoundError: com/liferay/portal/kernel/events/ActionException at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328) at java.lang.Class.getConstructor0(Class.java:2640) at java.lang.Class.newInstance0(Class.java:321) at java.lang.Class.newInstance(Class.java:303) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3713) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) 由于对portal不怎么熟悉,这个错误不知道怎么解决,难道是build的时候少build了文件,或者是还需要修改其它的配置? |
|
simonlzs
2010-01-12
我想知道怎么把独立的ext的portal和另一版本的Liferay集成在一起怎么做?
|
|
jinsong1213
2010-01-19
少了这个文件,估计是你的源代码没这个文件,build之后也没有
|