Forums de discussion

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

Subhagnanam A, modifié il y a 7 années.

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

Junior Member Publications: 50 Date d'inscription: 25/02/16 Publications récentes
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, modifié il y a 7 années.

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

Liferay Legend Publications: 6403 Date d'inscription: 23/09/08 Publications récentes
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, modifié il y a 7 années.

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

Junior Member Publications: 50 Date d'inscription: 25/02/16 Publications récentes
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, modifié il y a 7 années.

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

Liferay Legend Publications: 1902 Date d'inscription: 10/03/08 Publications récentes
The source code for the Liferay CE Social Networking plugin can be found within the .lpkg file that you download.
Subhagnanam A, modifié il y a 7 années.

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

Junior Member Publications: 50 Date d'inscription: 25/02/16 Publications récentes
Sorry i could not find the source,but when i import war in eclipse class files are not there.
thumbnail
Samuel Kong, modifié il y a 7 années.

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

Liferay Legend Publications: 1902 Date d'inscription: 10/03/08 Publications récentes
Liferay CE Social Networking.lpkg/social-networking-portlet-6.2.0.4.war/WEB-INF/src/
Subhagnanam A, modifié il y a 7 années.

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

Junior Member Publications: 50 Date d'inscription: 25/02/16 Publications récentes
But i am getting error as mentioned above when i import the source in eclipse.Do i miss any jar or file.