See sample-struts-liferay-portlet.war. Add META-INF/context.xml to any WAR and set the loaderClass attribute to reference this class. This will allow that WAR to use the portal's class loader.
See http://support.liferay.com/browse/LEP-2346.