主题 : 添加栏目192错误
级别: 秀才
UID: 138351
积分:93 加为好友
威望: 4 精华: 0
主题:12 回复:42
注册时间:2021-06-23
在线时长:0
1#   发表于:2021-08-12 14:34:58  IP:103.169.*.*
添加栏目 192错误请联系售后 突然就这样了
级别: 秀才
UID: 138351
积分:93 加为好友
威望: 4 精华: 0
主题:12 回复:42
注册时间:2021-06-23
在线时长:0
2#   发表于:2021-08-12 14:35:41  IP:103.169.*.*
Caused by: org.hibernate.exception.ConstraintViolationException: could not execute statement
at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:59)
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:111)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:97)
at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:178)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3032)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3547)
at org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:89)
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:600)
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:474)
at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:337)
at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:39)
at org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1437)
at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1423)
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:497)
at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:350)
at com.sun.proxy.$Proxy146.flush(Unknown Source)
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:497)
at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:305)
at com.sun.proxy.$Proxy146.flush(Unknown Source)
at org.springframework.data.jpa.repository.support.SimpleJpaRepository.flush(SimpleJpaRepository.java:534)
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:497)
at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:377)
at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:200)
at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:641)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:605)
at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:590)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139)
... 139 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '2301' for key 'PRIMARY'
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
at com.mysql.jdbc.Util.getInstance(Util.java:408)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3978)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3914)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2530)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2683)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2495)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1903)
at com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2124)
at com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2058)
at com.mysql.jdbc.PreparedStatement.executeLargeUpdate(PreparedStatement.java:5158)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2043)
at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61)
at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java)
at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175)
... 178 more
级别: 总版主
UID: 10736
积分:148432 加为好友
威望: 205 精华: 42
主题:287 回复:126170
注册时间:2010-09-08
在线时长:16.76
3#   发表于:2021-08-12 14:36:02  IP:111.202.*.*
添加栏目 192错误请联系售后 突然就这样了
重启下服务
路漫漫其修远兮,吾将上下而求索!
级别: 秀才
UID: 138351
积分:93 加为好友
威望: 4 精华: 0
主题:12 回复:42
注册时间:2021-06-23
在线时长:0
4#   发表于:2021-08-12 14:43:07  IP:103.169.*.*
重启之后 还是这样
级别: 总版主
UID: 10736
积分:148432 加为好友
威望: 205 精华: 42
主题:287 回复:126170
注册时间:2010-09-08
在线时长:16.76
5#   发表于:2021-08-12 14:44:37  IP:111.202.*.*
添加所有栏目都是吗?
路漫漫其修远兮,吾将上下而求索!
级别: 秀才
UID: 138351
积分:93 加为好友
威望: 4 精华: 0
主题:12 回复:42
注册时间:2021-06-23
在线时长:0
6#   发表于:2021-08-12 14:47:36  IP:103.169.*.*
对 所有栏目都是
级别: 总版主
UID: 10736
积分:148432 加为好友
威望: 205 精华: 42
主题:287 回复:126170
注册时间:2010-09-08
在线时长:16.76
7#   发表于:2021-08-12 14:48:52  IP:111.202.*.*
对 所有栏目都是
是改了什么还是操作什么后出现的
路漫漫其修远兮,吾将上下而求索!
级别: 秀才
UID: 138351
积分:93 加为好友
威望: 4 精华: 0
主题:12 回复:42
注册时间:2021-06-23
在线时长:0
8#   发表于:2021-08-12 14:50:45  IP:103.169.*.*
没有修改什么东西 突然就这样了
级别: 总版主
UID: 10736
积分:148432 加为好友
威望: 205 精华: 42
主题:287 回复:126170
注册时间:2010-09-08
在线时长:16.76
9#   发表于:2021-08-12 14:52:28  IP:111.202.*.*
没有修改什么东西 突然就这样了
那你就还原下库,上面提示好像是数据库问题,你可以建一个初始化的库连接
路漫漫其修远兮,吾将上下而求索!
级别: 秀才
UID: 138351
积分:93 加为好友
威望: 4 精华: 0
主题:12 回复:42
注册时间:2021-06-23
在线时长:0
10#   发表于:2021-08-12 15:02:31  IP:103.169.*.*
1 2 > >| 共2页