jbjares2

Polymorphic_JSON-objects-with-JPA-and-Hibernate

Mar 2nd, 2023
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.75 KB | Help | 0 0
  1. org.hibernate.boot.registry.classloading.spi.ClassLoadingException: Unable to load class [json-polymorphic-list]
  2. at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.classForName(ClassLoaderServiceImpl.java:133)
  3. at org.hibernate.boot.internal.ClassLoaderAccessImpl.classForName(ClassLoaderAccessImpl.java:67)
  4. at org.hibernate.cfg.annotations.SimpleValueBinder.fillSimpleValue(SimpleValueBinder.java:536)
  5. at org.hibernate.cfg.annotations.SimpleValueBinder.make(SimpleValueBinder.java:434)
  6. at org.hibernate.cfg.annotations.CollectionBinder.bindManyToManySecondPass(CollectionBinder.java:1667)
  7. at org.hibernate.cfg.annotations.CollectionBinder.bindStarToManySecondPass(CollectionBinder.java:874)
  8. at org.hibernate.cfg.annotations.CollectionBinder$1.secondPass(CollectionBinder.java:799)
  9. at org.hibernate.cfg.CollectionSecondPass.doSecondPass(CollectionSecondPass.java:53)
  10. at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.processSecondPasses(InFlightMetadataCollectorImpl.java:1653)
  11. at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.processSecondPasses(InFlightMetadataCollectorImpl.java:1629)
  12. at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:295)
  13. at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:1460)
  14. at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1494)
  15. at org.hibernate.jpa.HibernatePersistenceProvider.createContainerEntityManagerFactory(HibernatePersistenceProvider.java:141)
  16. at br.gov.economia.spu.poc.metacontrato.polimorfictypes.test.JsonbSupportTest.prepare(JsonbSupportTest.java:53)
  17. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  18. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  19. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  20. at java.base/java.lang.reflect.Method.invoke(Method.java:566)
  21. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
  22. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  23. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
  24. at org.junit.internal.runners.statements.RunBefores.invokeMethod(RunBefores.java:33)
  25. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
  26. at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
  27. at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
  28. at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:93)
  29. at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:40)
  30. at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:529)
  31. at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:756)
  32. at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:452)
  33. at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210)
  34. Caused by: java.lang.ClassNotFoundException: Could not load requested class : json-polymorphic-list
  35. at org.hibernate.boot.registry.classloading.internal.AggregatedClassLoader.findClass(AggregatedClassLoader.java:210)
  36. at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
  37. at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
  38. at java.base/java.lang.Class.forName0(Native Method)
  39. at java.base/java.lang.Class.forName(Class.java:398)
  40. at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.classForName(ClassLoaderServiceImpl.java:130)
  41. ... 31 more
  42.  
  43.  
Advertisement
Add Comment
Please, Sign In to add comment