org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:....jar!/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.TypeNotPresentException: Type java.time.LocalTime not present

Stack Overflow | Florian F. | 4 months ago
  1. 0

    Shaded package tries to find java.time.LocalTime in java 7

    Stack Overflow | 4 months ago | Florian F.
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:....jar!/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.TypeNotPresentException: Type java.time.LocalTime not present
  2. 0

    Using Jhipster(spring boot) with light admin

    GitHub | 2 years ago | svennela
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'persistentAuditEventDynamicJpaRepository': Invocation of init method failed; nested exception is java.lang.TypeNotPresentException: Type long not present
  3. 0

    How to solve 'error creating bean' with LightAdmin?

    Stack Overflow | 2 years ago | Dracontis
    java.lang.TypeNotPresentException: Type int not present
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hibernate error running webapp with jetty-maven-plugin

    Stack Overflow | 5 years ago | Kkkev
    java.lang.TypeNotPresentException: Type org.hibernate.collection.PersistentCollection not present
  6. 0

    Maven shade plugin ClassNotFoundException

    Stack Overflow | 2 years ago
    java.lang.TypeNotPresentException: Type java.time.LocalTime not present

  1. kjhdofjosvs 1 times, last 1 month ago
2 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.ClassNotFoundException

    java.time.LocalTime

    at java.net.URLClassLoader$1.run()
  2. Java RT
    Class.getGenericInterfaces
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    2. java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    3. java.security.AccessController.doPrivileged(Native Method)
    4. java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    5. java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    6. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    7. java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    8. java.lang.Class.forName0(Native Method)
    9. java.lang.Class.forName(Class.java:274)
    10. sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:114)
    11. sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:125)
    12. sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:49)
    13. sun.reflect.generics.visitor.Reifier.reifyTypeArguments(Reifier.java:68)
    14. sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:138)
    15. sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:49)
    16. sun.reflect.generics.repository.ClassRepository.getSuperInterfaces(ClassRepository.java:100)
    17. java.lang.Class.getGenericInterfaces(Class.java:819)
    17 frames
  3. Hibernate
    AttributeConverterDefinition.from
    1. org.hibernate.cfg.AttributeConverterDefinition.extractAttributeConverterParameterizedType(AttributeConverterDefinition.java:157)
    2. org.hibernate.cfg.AttributeConverterDefinition.<init>(AttributeConverterDefinition.java:114)
    3. org.hibernate.cfg.AttributeConverterDefinition.from(AttributeConverterDefinition.java:93)
    4. org.hibernate.cfg.AttributeConverterDefinition.from(AttributeConverterDefinition.java:73)
    4 frames
  4. org.hibernate.boot
    MetadataBuildingProcess.prepare
    1. org.hibernate.boot.model.process.internal.ScanningCoordinator.applyScanResultsToManagedResources(ScanningCoordinator.java:234)
    2. org.hibernate.boot.model.process.internal.ScanningCoordinator.coordinateScan(ScanningCoordinator.java:81)
    3. org.hibernate.boot.model.process.spi.MetadataBuildingProcess.prepare(MetadataBuildingProcess.java:98)
    3 frames
  5. org.hibernate.jpa
    HibernatePersistenceProvider.createContainerEntityManagerFactory
    1. org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.<init>(EntityManagerFactoryBuilderImpl.java:200)
    2. org.hibernate.jpa.boot.spi.Bootstrap.getEntityManagerFactoryBuilder(Bootstrap.java:34)
    3. org.hibernate.jpa.HibernatePersistenceProvider.getEntityManagerFactoryBuilder(HibernatePersistenceProvider.java:165)
    4. org.hibernate.jpa.HibernatePersistenceProvider.getEntityManagerFactoryBuilder(HibernatePersistenceProvider.java:160)
    5. org.hibernate.jpa.HibernatePersistenceProvider.createContainerEntityManagerFactory(HibernatePersistenceProvider.java:135)
    5 frames
  6. Hibernate EJB
    HibernatePersistence.createContainerEntityManagerFactory
    1. org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:50)
    1 frame
  7. Spring ORM
    AbstractEntityManagerFactoryBean.afterPropertiesSet
    1. org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:343)
    2. org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:319)
    2 frames
  8. Spring Beans
    AbstractBeanFactory.getBean
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
    5. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
    6. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    7. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
    8. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
    8 frames
  9. Spring Context
    ClassPathXmlApplicationContext.<init>
    1. org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1054)
    2. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:829)
    3. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
    4. org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
    5. org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
    5 frames
  10. com.gvh.dsn
    Main.main
    1. com.gvh.dsn.ficheParametrage.Main.main(Main.java:66)
    1 frame