Eight Brothers-Cool-Second Bomb

*、No bean named 'usersService' is defined,springContent.getBean failed

The solution is that if the jar package under the lib is confirmed to be no problem, delete it in the java build path and add the jar of the lib again.

 

*、mysql-Duplicate entry * for key *

This exception occurs when inserting the same primary key content into the primary key unique field

 

*、Specified key was too long; max key length is 767 bytes

For the varchar field, change its length to a smaller size and solve the problem
But I don't know why I need to investigate

 

*, 400 error Google access is normal, but IE reports this exception

Possibility 1: There is a garbled problem in the url, which makes it impossible to parse normally
And Google automatically fixes its encoding, so it can be accessed normally, but this is not the solution

 

*、 Unsupported major.minor version 51.0

jdk version problem, thanks
Solution: Project------>Right click------>Properties------>Java Compiler------>Compiler Compliance Level------>
Select the JDK version you use (the version used in the build should be the same as this setting) ------> Apply
If the above methods can't solve your problem, please refer to the attachment, hee hee~

 

*、  java.lang.ClassNotFoundException: org.apache.fontbox.afm.AFMParser

pdfbox-app-1.7.0.jar is missing

 

*、  Only a type can be imported. com.*.util.DataUtil resolves to a package

First determine if DataUtil is a package or a class
Then confirm whether the class can be found in the given path, it may not be imported, but it does not exist at all

 

*、  Incompatible operand types String and int

The comparison types of the two variable values ​​are different, and the comparison operation cannot be performed normally

 

*、Unhandled exception type UnsupportedEncodingException

Try-catch captures must be added where exceptions may occur in the compilation phase, so if the exceptions are not caught in the editing phase, the exceptions will be thrown!

 

*、Can't find bundle for base name ClientMessages, locale zh_CN

Note that there is a problem with the *.properties file path, please refer to
http://wandejun1012.iteye.com/blog/1214285

 

 

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326645304&siteId=291194637