Closed ScarleTAKE closed 3 years ago
Hi @ScarleTAKE I'm sorry but I have to close the issue because it is absolutely not about this project. You could open it instead at https://github.com/amusarra/sb-extdb
hi @amusarra thank you for your support. i cannot create issue in https://github.com/amusarra/sb-extdb i created in https://github.com/dnebing/sb-extdb/issues/2
hi sorry for bother i use liferay 7.4.2 ga3 with jdk8 and ide 3.9.4.202108090632-ga5 i try use liferay-portal-database-all-in-one-support, put the jar it in ROOT/WEB-INF/lib, and put driver in ROOT/WEB-INF/shielded-container-lib set my service.xml
dependency-injector="spring"
in service-builder tagdata-source="extPlmDataSource"
in my entity tag create ext-spring.xml in META-INF/spring/parent/ of service madulealias="extPlmDataSource" name="liferayDataSource"
in alias tag of ext-spring.xmlafter i build-service/build and deploy my module, i got exception when getService()
java.lang.NullPointerException: null at com.raritan.ci.plm.service.ItemLocalServiceUtil.getItem(ItemLocalServiceUtil.java:232) ~[bundleFile:?] at com.raritan.ci.amd.portlet.AdminMasterDataPortlet.render(AdminMasterDataPortlet.java:102) ~[bundleFile:?] at com.liferay.portlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:127) ~[portal-impl.jar:?] at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:58) ~[portal-impl.jar:?] at com.liferay.portlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:124) ~[portal-impl.jar:?] at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:71) ~[portal-kernel.jar:?] at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:115) ~[portal-kernel.jar:?] at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) ~[servlet-api.jar:4.0.FR]
after googled, some user of 7.3 had same issue, but resolved after upgrade com.liferay.gradle.plugins.workspace version. but it's not work in this case.