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

Samebug tips

  1. ,
    Expert tip

    Try downgrading PostgresSQL server to 9.5 or update your PostgresSQL driver to 9.4-1211 with the following command: <postgresql.version>9.4.1211</postgresql.version>

Solutions on the web

via hivmr.com by Unknown author, 1 year ago
via hivmr.com by Unknown author, 2 years ago
via broadleafcommerce.org by Unknown author, 2 years ago
via broadleafcommerce.org by Unknown author, 2 years ago
via Icesoft by dim5b, 9 months ago
Error during import script execution
via Stack Overflow by fresh_dev
, 1 year ago
Error during import script execution at line 2
org.postgresql.util.PSQLException: FEHLER: duplizierter Schlssel verletzt Unique-Constraint mitarbeiter_pkey	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1547)	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1315)	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:190)	at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:451)	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:336)	at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:328)	at org.jboss.resource.adapter.jdbc.WrappedStatement.execute(WrappedStatement.java:83)	at org.hibernate.tool.hbm2ddl.SchemaExport.importScript(SchemaExport.java:254)	at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:192)	at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:133)	at org.hibernate.impl.SessionFactoryImpl.init(SessionFactoryImpl.java:311)	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)	at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:918)	at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:656)	at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:127)	at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:259)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:56)	at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:110)	at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)	at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:214)	at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:45)	at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:108)	at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:69)	at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)	at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:135)	at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:46)	at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)	at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)	at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)	at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)	at org.jboss.system.ServiceController.doChange(ServiceController.java:659)	at org.jboss.system.ServiceController.start(ServiceController.java:431)	at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:149)	at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:107)	at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)	at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:65)	at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)	at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)	at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:853)	at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:874)	at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:906)	at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794)	at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)	at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498)	at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506)	at org.jboss.embedded.DeploymentGroup.process(DeploymentGroup.java:127)	at org.jboss.embedded.Bootstrap.deployResourceBases(Bootstrap.java:289)	at org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:15)	at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:1041)	at org.jboss.seam.mock.BaseSeamTest.startSeam(BaseSeamTest.java:935)	at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:923)	at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604)	at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:394)	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:79)	at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:165)	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:103)	at org.testng.TestRunner.runWorkers(TestRunner.java:678)	at org.testng.TestRunner.privateRun(TestRunner.java:624)	at org.testng.TestRunner.run(TestRunner.java:495)	at org.testng.SuiteRunner.runTest(SuiteRunner.java:300)	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295)	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275)	at org.testng.SuiteRunner.run(SuiteRunner.java:190)	at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792)	at org.testng.TestNG.runSuitesLocally(TestNG.java:765)	at org.testng.TestNG.run(TestNG.java:699)	at org.testng.TestNG.privateMain(TestNG.java:824)	at org.testng.TestNG.main(TestNG.java:802)