サービスビルダーでポートレットAに作成したXXXLocalServiceUtilのメソッドをポートレットBから呼び出そうとしています。ポートレット B の /WEB-INF/lib にポートレット A のまったく同じ jar をインポートしましたが、ログにあるように ClassNotFoundException がスローされます。何か案は?
Blockquote 13:04:25,904 ERROR [http-bio-8080-exec-77][render_portlet_jsp:132] null java.lang.RuntimeException: java.lang.ClassNotFoundException は com.liferay.custom.action.service で有効な例外ではありません.AuditUserLocalServiceClp.addAuditUser(AuditUserLocalServiceClp.java:763) com.liferay.custom.action.service.AuditUserLocalServiceUtil.addAuditUser(AuditUserLocalServiceUtil.java:287) com.liferay.calendar.listeners.CalendarBookingListener.onAfterCreate(CalendarBookingListener.java:73) ) com.liferay.calendar.listeners.CalendarBookingListener.onAfterCreate(CalendarBookingListener.java:1) で com.liferay.portal.model.BaseModelListener.onAfterCreate(BaseModelListener.java:1) で com.liferay.portal.service.persistence で。 impl.BasePersistenceImpl.update(BasePersistenceImpl.java:337) com.liferay.portal.dao.shard.advice.ShardPersistenceAdvice.invoke(ShardPersistenceAdvice.java:54) com.liferay.calendar.service.impl.CalendarBookingLocalServiceImpl.addCalendarBooking(CalendarBookingLocalServiceImpl.java:174) com.liferay.portal.spring.aop.ServiceBeanMethodInvocation. com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62) で続行 (ServiceBeanMethodInvocation.java:115) com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51) でcom.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111) で com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56) で com.liferay.portal.spring .aop.ServiceBeanMethodInvocation。com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56) で続行 (ServiceBeanMethodInvocation.java:111) com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111) でcom.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56) で com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111) で com.liferay.portal.spring .aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56) com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111) でcom.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56) の ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111) com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java: 111) com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56) で com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111) でcom.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56) の ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111) com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java: 111) com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56) で com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111) でcom.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111) で (ChainableMethodAdvice.java:56) を呼び出すcom.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111) で (ChainableMethodAdvice.java:56) を呼び出す