java.lang.IllegalArgumentException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web15716

  • 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, 9 months ago
    Cannot create self link for class com.ibm.cayce.coy.domain.Product! No persistent entity found!
  • via Spring JIRA by Jega A, 9 months ago
    Cannot create self link for class com.sample.solr.document.Contract! No persistent entity found!
  • Stack trace

    • 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) at org.springframework.data.rest.webmvc.RepositorySearchController.executeSearch(RepositorySearchController.java:135)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.