<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Liferay 7.3 - org.hibernate.MappingException: entity class not found</title>
  <link rel="self" href="https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120698511" />
  <subtitle>Liferay 7.3 - org.hibernate.MappingException: entity class not found</subtitle>
  <id>https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120698511</id>
  <updated>2026-10-15T10:47:51Z</updated>
  <dc:date>2026-10-15T10:47:51Z</dc:date>
  <entry>
    <title>RE: Liferay 7.3 - org.hibernate.MappingException: entity class not found</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120924130" />
    <author>
      <name>Muhammad Saleh</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120924130</id>
    <updated>2021-07-07T13:02:58Z</updated>
    <published>2021-07-07T12:35:12Z</published>
    <summary type="html">&lt;p&gt;I am facing the same issue did you resolve it ?&lt;/p&gt;</summary>
    <dc:creator>Muhammad Saleh</dc:creator>
    <dc:date>2021-07-07T12:35:12Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7.3 - org.hibernate.MappingException: entity class not found</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120703334" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120703334</id>
    <updated>2021-04-01T10:18:16Z</updated>
    <published>2021-04-01T10:18:16Z</published>
    <summary type="html">&lt;p&gt;Did you deploy the API jar as well?&lt;br /&gt;Did you run ServiceBuilder
  after running the upgrade wizard or after you upgraded your code?&lt;/p&gt;
&lt;p&gt;Are you deploying the correct version of your service.jar?&lt;/p&gt;</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2021-04-01T10:18:16Z</dc:date>
  </entry>
  <entry>
    <title>Liferay 7.3 - org.hibernate.MappingException: entity class not found</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120698510" />
    <author>
      <name>Bryan Schuknecht</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120698510</id>
    <updated>2021-03-30T22:37:15Z</updated>
    <published>2021-03-30T20:49:20Z</published>
    <summary type="html">&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I'm pretty new to Liferay development. I'm working on migrating a
  project from 7.0 to 7.3.&lt;/p&gt;
&lt;p&gt;The plugin I'm working on has the -api / -service / -portlet
  structure that I've seen in the tutorials.&lt;/p&gt;
&lt;p&gt;When I try to deploy the service JAR to my server, I'm getting the
  following error:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;2021-03-30 20:24:19.548 INFO
   [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:271]
  Processing com.mycompany.service.jar&lt;/p&gt;
&lt;p&gt;2021-03-30 20:24:28.272 ERROR
  [fileinstall-directory-watcher][LiferayServiceExtender:86]
  org.hibernate.MappingException: entity class not found:&lt;/p&gt;
&lt;p&gt;com.mycompany.plugin.model.impl.MyClassImpl&lt;/p&gt;
&lt;p&gt;org.hibernate.MappingException: entity class not found: com.mycompany.plugin.model.impl.MyClassImpl&lt;/p&gt;
&lt;p&gt;    at org.hibernate.mapping.PersistentClass.getMappedClass(PersistentClass.java:125)&lt;/p&gt;
&lt;p&gt;    ...&lt;/p&gt;
&lt;p&gt;Caused by: java.lang.ClassNotFoundException: com.mycompany.plugin.model.impl.MyClassImpl&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I looked in com.mycompany.service.jar, and verified that the missing
  class is present. I'm not sure why it's not getting picked up by the
  server during deployment.&lt;/p&gt;
&lt;p&gt;Google searching isn't shredding much light on this, so I thought I'd
  try this forum.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Any help would be greatly appreciated.&lt;/p&gt;
&lt;p&gt;Bryan&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Bryan Schuknecht</dc:creator>
    <dc:date>2021-03-30T20:49:20Z</dc:date>
  </entry>
</feed>
