java.lang.IllegalArgumentException: Unknown entity: com.calamar.beans.Application

Stack Overflow | Antoine | 5 months ago
  1. 0

    Unknown entity when running junit test

    Stack Overflow | 5 months ago | Antoine
    java.lang.IllegalArgumentException: Unknown entity: com.calamar.beans.Application
  2. 0

    XML mapping of Interface

    Stack Overflow | 6 months ago | Nabor
    java.lang.IllegalArgumentException: Unknown entity: de.pentos.vrkarriere.model.Bill
  3. 0

    GitHub comment 1940#238204650

    GitHub | 4 months ago | yisiqi
    java.lang.IllegalArgumentException: Unknown entity: org.apereo.cas.support.oauth.ticket.code.OAuthCodeImpl
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to autodiscover JPA2 entities

    Stack Overflow | 2 years ago | Fabio B.
    java.lang.IllegalArgumentException: Unknown entity: model.legacy.dto.myentity
  6. 0

    Spring Boot Test: Unknown Entity when using hibernate

    Stack Overflow | 2 years ago | Michael Coxon
    org.springframework.dao.InvalidDataAccessApiUsageException: Unknown entity: com.touchcorp.touchpoint.model.domain.Client; nested exception is java.lang.IllegalArgumentException: Unknown entity: com.touchcorp.touchpoint.model.domain.Client

  1. thiago.santos 4 times, last 6 months ago
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Unknown entity: com.calamar.beans.Application

    at org.hibernate.jpa.spi.AbstractEntityManagerImpl.persist()
  2. org.hibernate.jpa
    AbstractEntityManagerImpl.persist
    1. org.hibernate.jpa.spi.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:1149)
    1 frame
  3. com.calamar.dao
    ApplicationDao.addApplication
    1. com.calamar.dao.ApplicationDao.addApplication(ApplicationDao.java:32)
    1 frame
  4. com.calamar.services
    ApplicationService.addApplication
    1. com.calamar.services.ApplicationService.addApplication(ApplicationService.java:48)
    1 frame
  5. com.calamar.test
    TestApplicationService.initializeTest
    1. com.calamar.test.TestApplicationService.initializeTest(TestApplicationService.java:31)
    1 frame
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:483)
    4 frames
  7. JUnit
    ParentRunner.run
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    4. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
    5. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    6. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    9. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    10. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    11. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    12. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    13. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    14. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    14 frames
  8. JUnit4 Runner
    JUnit4TestReference.run
    1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
    1 frame
  9. JUnit3 Runner
    RemoteTestRunner.main
    1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
    3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
    4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
    5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
    5 frames