caused By:java.lang.ClassNotFoundException:org.springframework.dao.DataIntegrityViolationExceptionAt Java.net.urlclassloader$1.run (Unknown Source)At java.security.AccessController.doPrivileged (Native Method)At Java.net.URLClassLoader.findClass (Unknown Source)At Java.lang.ClassLoader.loadClass (Unknown Source)At Java.lang.ClassLoader.loadClass (Unknown Source) at org.springframework.util.classutils.forname ( classutils.java:257) This exception is caused by database constraints, such as primary key duplication, null values to non-null fields, or INSERT field violation table structure, etc. because there is no timely feedback log in the field, only through the database information troubleshooting-View SEQ information select us. * from user_sequences us where us. sequence_name in (' seq_payment ', ' SEQ_PAYMENTDETAIL ', ' Seq_phyresource ', ' seq_docardlog ', ' SEQ_VOUCARDSALE ', ' seq_voucardsalelist '); --view table Information Select ut. Table_name, ut. Num_rows from user_tables ut where ut. table_name in (' PAYMENT ', ' paymentdetail ', ' Phyresource ', ' docardlog ', ' VOUCARDSALE ', ' Voucardsalelist '); get to the log after finding the cause ora-01438: value larger than specified precision allowed for this column; nested exception is Java.sql.sqlexception: ora-01438: value larger than specified precision allowed for this column Operatorcreditadjustlog Table up to 999999, the actual number is only more than 2W, the single largest ID has reached 999992, caused this is because the SEQ set cache =20 This buffer failure caused the SEQ value of the waste   ; finally modifies the table structure to set a larger value, while the cache in SEQ is set to 0
Exception caused by:java.lang.ClassNotFoundException:org.springframework.dao.DataIntegrityViolationException