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 user3321551
, 1 year ago
via Stack Overflow by user9193174
, 3 months ago
Failed to execute CommandLineRunner
via Stack Overflow by Kutler01
, 3 months ago
via Stack Overflow by Anish Panthi
, 3 months ago
via GitHub by guardiande
, 10 months ago
Failed to execute CommandLineRunner
via GitHub by krishofmans
, 10 months ago
Failed to execute CommandLineRunner
org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement	at org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException(HibernateJpaDialect.java:259)	at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:225)	at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:436)	at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:59)	at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:213)	at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:147)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)	at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:131)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)	at com.sun.proxy.$Proxy60.save(Unknown Source)	at database.Application.lambda$0(Application.java:71)	at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:800)	at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:784)	at org.springframework.boot.SpringApplication.afterRefresh(SpringApplication.java:771)	at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1185)	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1174)	at database.Application.main(Application.java:26)