"Exception" caused by:java.lang.ClassNotFoundException:org.springframework.dao.DataIntegrityViolationException

Source: Internet
Author: User

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 &nbsp ;  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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.