saving blob(image) object to databasesaving blob(image) object to databasehttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=482407932024-03-28T11:11:42Z2024-03-28T11:11:42ZRE: saving blob(image) object to databaseDavid H Nebingerhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=482464242015-01-27T13:47:41Z2015-01-27T13:47:41Z<div class="quote-title">Madhu Chandrappa:</div><blockquote>I got error in uploading blob object to database</blockquote><br /><br />And that is exactly your problem. It is never ever a good idea to store binary files in the database. Rework your code such that you store the video into the document library.<br /><br />In the interim, I'm sure you want to fix:<br /><br /><blockquote>13:06:46,946 ERROR [http-bio-8087-exec-306][PortletServlet:116] javax.portlet.PortletException: java.lang.NoClassDefFoundError: Could not initialize class com.icos.model.impl.ClassVideosImpl</blockquote><br /><br />Well, this can mean many things but effectively means the class loader failed to load the class. Could be the class is missing, could be some sort of exception encountered during the class load that is not getting reported, ...David H Nebinger2015-01-27T13:47:41Zsaving blob(image) object to databaseMadhu Chandrappahttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=482407922015-01-27T13:15:53Z2015-01-27T13:15:53ZHi All,<br />i got error in uploading blob object to database,<br /><br />13:06:46,946 ERROR [http-bio-8087-exec-306][PortletServlet:116] javax.portlet.PortletException: java.lang.NoClassDefFoundError: Could not initialize class com.icos.model.impl.ClassVideosImpl<br />javax.portlet.PortletException: java.lang.NoClassDefFoundError: Could not initialize class com.icos.model.impl.ClassVideosImpl<br /> at com.liferay.portal.kernel.portlet.LiferayPortlet.callActionMethod(LiferayPortlet.java:166)<br /> at com.liferay.util.bridges.mvc.MVCPortlet.callActionMethod(MVCPortlet.java:247)<br /> at com.liferay.portal.kernel.portlet.LiferayPortlet.processAction(LiferayPortlet.java:78)<br /> at com.liferay.util.bridges.mvc.MVCPortlet.processAction(MVCPortlet.java:210)<br /> at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:71)<br /> at com.liferay.po