Foren

How to get the source code of socil networking portlet liferay6.2

Subhagnanam A, geändert vor 7 Jahren.

How to get the source code of socil networking portlet liferay6.2

Junior Member Beiträge: 50 Beitrittsdatum: 25.02.16 Neueste Beiträge
When i down load the source code and import in eclipse it throws error in getDate() method.how to get the exact source code of social networking potlet
thumbnail
Olaf Kock, geändert vor 7 Jahren.

RE: How to get the source code of socil networking portlet liferay6.2

Liferay Legend Beiträge: 6403 Beitrittsdatum: 23.09.08 Neueste Beiträge
Subhagnanam A:
When i down load the source code and import in eclipse it throws error in getDate() method.how to get the exact source code of social networking potlet


Which (exact) source code did you try? Which (exact) version of Liferay are you compiling it with? Which version of Java are you using in eclipse? Which class contains the getDate() method and does "throw an error" mean that something happens at runtime or something is marked compiletime? If it's an eclipse-marker, it surely has some information as to what eclipse is complaining about. Please share that one as well.
Subhagnanam A, geändert vor 7 Jahren.

RE: How to get the source code of social networking portlet liferay6.2

Junior Member Beiträge: 50 Beitrittsdatum: 25.02.16 Neueste Beiträge
I am using liferay6.2 GA3 version,i need the exact source code of social networking portlet for this version.

when i download the source and import into eclipse version(Luna Service Release 2 (4.4.2)) and build it throws error
"The method getDate(int, int, int, int, int, TimeZone, Class<? extends PortalException>) in the type PortalUtil is not applicable for the arguments (int, int, int, int, int, TimeZone, MeetupsEntryStartDateException)"

in getDate() method.


when i forcefully export the war and deploy it throws below error,

com.liferay.portal.kernel.bean.BeanLocatorException: BeanLocator has not been set for servlet context social-networking-portlet
at com.liferay.portal.kernel.bean.PortletBeanLocatorUtil.locate(PortletB
eanLocatorUtil.java:46)
at com.liferay.socialnetworking.service.MeetupsEntryLocalServiceUtil.get
Service(MeetupsEntryLocalServiceUtil.java:326)
at com.liferay.socialnetworking.service.MeetupsEntryLocalServiceUtil.get
MeetupsEntriesByCompany(MeetupsEntryLocalServiceUtil.java:295)
at org.apache.jsp.meetups.view_jsp._jspService(view_jsp.java:319)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:432)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
90)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.
doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFil
ter(InvokerFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:749)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
ispatcher.java:605)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
patcher.java:544)
at com.liferay.portlet.PortletRequestDispatcherImpl.dispatch(PortletRequ
estDispatcherImpl.java:331)
t for servlet context social-networking-portlet
t for servlet context social-networking-portlet
thumbnail
Samuel Kong, geändert vor 7 Jahren.

RE: How to get the source code of socil networking portlet liferay6.2

Liferay Legend Beiträge: 1902 Beitrittsdatum: 10.03.08 Neueste Beiträge
The source code for the Liferay CE Social Networking plugin can be found within the .lpkg file that you download.
Subhagnanam A, geändert vor 7 Jahren.

RE: How to get the source code of socil networking portlet liferay6.2

Junior Member Beiträge: 50 Beitrittsdatum: 25.02.16 Neueste Beiträge
Sorry i could not find the source,but when i import war in eclipse class files are not there.
thumbnail
Samuel Kong, geändert vor 7 Jahren.

RE: How to get the source code of socil networking portlet liferay6.2

Liferay Legend Beiträge: 1902 Beitrittsdatum: 10.03.08 Neueste Beiträge
Liferay CE Social Networking.lpkg/social-networking-portlet-6.2.0.4.war/WEB-INF/src/
Subhagnanam A, geändert vor 7 Jahren.

RE: How to get the source code of socil networking portlet liferay6.2

Junior Member Beiträge: 50 Beitrittsdatum: 25.02.16 Neueste Beiträge
But i am getting error as mentioned above when i import the source in eclipse.Do i miss any jar or file.