سلام
من دستورات موجود برای نصب liferay رو اجرا کردم و با اینکه خطایی نمیده اما اجرا هم نمیشه یعنی بعد اجرای startup تو مرورگر problem loading page میاد البته این مشکل رو حل کردم و با اجرای tomcat در netbeans بالاخره سایت رو اجرا کردم یعنی کل مجموعه لایفری رو ریختم تو webapps تو tomcat نصب شده تو سیستم ولی تو localhost با زدن آدرس زیر
\localhost:8080\liferay\tomcat-7.0.40\webapps\ROOT
خطای زیر رو میده. سیستم عاملم ویندوز هست و ابتدا جاوا رو ست نکرده بودم خطا میداد اما با ست جاوا خطا نمیداد اما اجرا نمیشد و مجبور شدم دستی خودم tomcat رو تو netbeans استارت کنم.
اگر مشکل کار من رو فهمیدید ممنون میشم کمکم کنید. خطای داده شده در زیر هست.
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 14 in the generated java file
Only a type can be imported. com.liferay.portal.events.ServicePreAction resolves to a package
An error occurred at line: 15 in the generated java file
Only a type can be imported. com.liferay.portal.kernel.servlet.HttpHeaders resolves to a package
An error occurred at line: 16 in the generated java file
Only a type can be imported. com.liferay.portal.kernel.util.InstancePool resolves to a package
An error occurred at line: 17 in the generated java file
Only a type can be imported. com.liferay.portal.model.Layout resolves to a package
An error occurred at line: 18 in the generated java file
Only a type can be imported. com.liferay.portal.model.LayoutConstants resolves to a package
An error occurred at line: 19 in the generated java file
Only a type can be imported. com.liferay.portal.model.LayoutSet resolves to a package
An error occurred at line: 20 in the generated java file
Only a type can be imported. com.liferay.portal.service.LayoutLocalServiceUtil resolves to a package
An error occurred at line: 21 in the generated java file
Only a type can be imported. com.liferay.portal.theme.ThemeDisplay resolves to a package
An error occurred at line: 22 in the generated java file
Only a type can be imported. com.liferay.portal.util.PortalUtil resolves to a package
An error occurred at line: 23 in the generated java file
Only a type can be imported. com.liferay.portal.util.WebKeys resolves to a package
An error occurred at line: 38 in the jsp file: /tomcat-7.0.40/webapps/ROOT/index.jsp
LayoutSet cannot be resolved to a type
35:
36: String redirect = null;
37:
38: LayoutSet layoutSet = (LayoutSet)request.getAttribute(WebKeys.VIRTUAL_HOST_LAYOUT_SET);
39:
40: if (layoutSet != null) {
41: long defaultPlid = LayoutLocalServiceUtil.getDefaultPlid(layoutSet.getGroupId(), layoutSet.isPrivateLayout());
An error occurred at line: 38 in the jsp file: /tomcat-7.0.40/webapps/ROOT/index.jsp
LayoutSet cannot be resolved to a type
35:
36: String redirect = null;
37:
38: LayoutSet layoutSet = (LayoutSet)request.getAttribute(WebKeys.VIRTUAL_HOST_LAYOUT_SET);
39:
40: if (layoutSet != null) {
41: long defaultPlid = LayoutLocalServiceUtil.getDefaultPlid(layoutSet.getGroupId(), layoutSet.isPrivateLayout());
An error occurred at line: 38 in the jsp file: /tomcat-7.0.40/webapps/ROOT/index.jsp
WebKeys.VIRTUAL_HOST_LAYOUT_SET cannot be resolved to a type
35:
36: String redirect = null;
37:
38: LayoutSet layoutSet = (LayoutSet)request.getAttribute(WebKeys.VIRTUAL_HOST_LAYOUT_SET);
39:
40: if (layoutSet != null) {
41: long defaultPlid = LayoutLocalServiceUtil.getDefaultPlid(layoutSet.getGroupId(), layoutSet.isPrivateLayout());
بیشتر بود ولی به دلیل محدودیت نتونستم بذارم.
با تشکر