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

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 Stack Overflow by Antoine
, 1 year ago
Unknown entity: com.calamar.beans.Application
via GitHub by yisiqi
, 1 year ago
Unknown entity: org.apereo.cas.support.oauth.ticket.code.OAuthCodeImpl
via Stack Overflow by canadiancreed
, 10 months ago
via Stack Overflow by Jurgen
, 2 years ago
Unknown entity: org.hibernate.jpa.internal.EntityManagerImpl
java.lang.IllegalArgumentException: Unknown entity: com.calamar.beans.Application
at org.hibernate.jpa.spi.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:1149)
at com.calamar.dao.ApplicationDao.addApplication(ApplicationDao.java:32)
at com.calamar.services.ApplicationService.addApplication(ApplicationService.java:48)
at com.calamar.test.TestApplicationService.initializeTest(TestApplicationService.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 times, 5 months ago
Once, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 times, 1 year ago
1 more bugmates

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