java.lang.IllegalArgumentException: Cannot create self link for class com.ibm.cayce.coy.domain.Product! No persistent entity found!

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Aaron LaBella, 1 year ago
Cannot create self link for class com.ibm.cayce.coy.domain.Product! No persistent entity found!
via Spring JIRA by Aaron LaBella, 1 year ago
Cannot create self link for class com.ibm.cayce.coy.domain.Product! No persistent entity found!
via GitHub by espiegelberg
, 3 months ago
Cannot create self link for class school.domain.Department! No persistent entity found!
via GitHub by espiegelberg
, 1 year ago
Cannot create self link for class school.domain.Department! No persistent entity found!
via Stack Overflow by Tim
, 2 years ago
Cannot create self link for class Document! No persistent entity found!
via Spring JIRA by Jega A, 1 year ago
Cannot create self link for class com.sample.solr.document.Contract! No persistent entity found!
java.lang.IllegalArgumentException: Cannot create self link for class com.ibm.cayce.coy.domain.Product! No persistent entity found!
at org.springframework.data.rest.webmvc.PersistentEntityResourceAssembler.getSelfLinkFor(PersistentEntityResourceAssembler.java:81)
at org.springframework.data.rest.webmvc.PersistentEntityResourceAssembler.toResource(PersistentEntityResourceAssembler.java:64)
at org.springframework.data.rest.webmvc.AbstractRepositoryRestController.entitiesToResources(AbstractRepositoryRestController.java:229)
at org.springframework.data.rest.webmvc.AbstractRepositoryRestController.resultToResources(AbstractRepositoryRestController.java:209)
at org.springframework.data.rest.webmvc.RepositorySearchController.executeQueryMethod(RepositorySearchController.java:222)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.