Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Java´íÎó´¦Àí´ó¼¯ºÏ


0¡¢ ÐèÒª±êʶ·û
a) ²»ÔÚº¯ÊýÄÚ
1¡¢ ·Ç·¨±í´ïʽ¿ªÊ¼
b) ¿ÉÄÜ:¶ªÊ§À¨ºÅ .
2. no data found
a) ¿ÉÄÜ:setInt(1,100)ÖÐ,ûÓÐ100Õâ¸öÖµ
3. ÕÒ²»µ½·ûºÅ
a) ¿ÉÄÜ:ûµ¼Èë°ü
4. Ö¸¶¨ÁËÎÞЧURL
a) ¿ÉÄÜ:Êý¾Ý¿âÃû»òIP´íÎó,¼´Á¬½Ó³ö´í
5. Àà·¾¶Ã»ÓÐÕÒµ½
a) ¿ÉÄÜ: ClassNotFoundException: oracle.jdbc.driver.OracleDriver
b) Ô­Òò: Ò»°ãÊÇÖ¸°üÃûд´í,»òÕßûÓÐimport°ü,»òÕßûÓÐÔÚÀà·¾¶ÖÐÕÒµ½jarÎļþ
c) ½â¾ö: ûÓмÓÔØOracleÇý¶¯jar,ÔÚ.bash_profileÖаÑojdbc14.jar¼Ó½øÀ´
6. ¿ÕÖ¸ÕëÒì³£
a) ¿ÉÄÜ: Êý¾ÝÔ´´íÎó ±ÈÈçÊý¾Ý¿âÃû»òIP´íÎó
7. ²»ÄÜÖ´Ðвéѯ
a) ¿ÉÄÜ: Êý¾Ý¿âÖбíµÄÎÊÌâ,±ÈÈçÁÐÃû²»´æÔÚ
8. invalid identity
a) ¿ÉÄÜ: ÁÐÃû³ö´í
9. ÈôÔÚÊý¾Ý¿âÖд´½¨ÁË Á½¸ösequence ,ÔËÐÐʱ³öÏÖÒì³£¿ÉÄÜÊÇÏȺóÖ´ÐÐÁ˶à´ÎselectÓï¾ä,µ¼ÖÂÓëÔ­ÓеÄÐòÁкŲúÉú³åÍ»
10. ±íÃû»òÁÐÃû²»´æÔÚ
a) ¿ÉÄÜ:±í²»´æÔÚ»òÕßûÓвåÈëÊý¾Ýµ½±íÖÐ
11. ²»Ö§³ÖµÄÀà,ÀàµÄ°æ±¾´íÎó
a) ¿ÉÄÜ:ûÓе¼Èëjdk5.0,»òÕß±àÒëÆ÷ÈÔΪ1.4
12. MappingNotFoundException
a) Maybe: In the Eclipse Not refersh , or not exist in the dirctory
13. HibernateException: /hibernate.cfg.xml not found
a) Maybe1: hibernate.cfg.xml not in the root directory
b) Maybe2: Could not parse configuration .
c) resolve: database not connect or use another database
14. ConstraintViolationException
a) Maybe: used a not true database
15. Çý¶¯Ã»ÓÐÕÒµ½ »òÕß JDBC Driver not found
¿ÉÄÜ£ºÁ¬½ÓÊý¾Ý¿âµÄÇý¶¯jar°ü²»´æÔÚ»òÕß°æ±¾²»Ò»Ö£¬±ÈÈ罫¾ÉµÄ°æ±¾»»³ÉеĻáÔì³É¸ÃÀà´íÎó
16. ¿ÕÖ¸ÕëÒì³£ £¬ java.lang.NullPointerException
a) ¿ÉÄÜ1£ºÊý¾Ý¿âÁ¬½Ó³ö´í£¬±ÈÈçÔÚhibernate.cfg.xmlÖеÄÊý¾Ý´íÎó»áµ¼ÖÂÒì³£¡£
17. Êý¾Ý²åÈëÒì³£ £¬GenericJDBCException: could not insert
a) ¿ÉÄÜ1£ºÃ»Óн¨Á¢±í»òÕß±íÖÐûÓÐÈκÎÊý¾Ý
b) ¿ÉÄÜ2£º²åÈëÊý¾ÝºóûÓÐÖ´ÐÐÌá½»Óï¾ä£ºcommit
18. LazyInitializationException »òÕßÑÓ³Ù¼ÓÔØÒì³£
a) ¿ÉÄÜ1£ºÃ»ÓÐÔÚ²éѯÓï¾äÖмÓfetch
19. IdentifierGenerationException
a) ¿ÉÄÜ1£º¸ßλ±íûÓгõʼ»¯£¨±ÈÈçhi_valueÖÐûÓмǼ)
20. could not initialize a collection: [hibernate.entity.Role.modules#32768] Syntax error: Encountered "-" at line 1, column 132.
a) ´íÎóÔ­Òò£º<set name="modules" table="module-role" lazy=


Ïà¹ØÎĵµ£º

JAVA EXCEL

ʹÓÃWindows²Ù×÷ϵͳµÄÅóÓѶÔExcel£¨µç×Ó±í¸ñ£©Ò»¶¨²»»áÄ°Éú£¬µ«ÊÇҪʹÓÃJavaÓïÑÔÀ´²Ù×ÝExcelÎļþ²¢²»ÊÇÒ»¼þÈÝÒ×µÄÊ¡£ÔÚWebÓ¦ÓÃÈÕÒæÊ¢ÐеĽñÌ죬ͨ¹ýWebÀ´²Ù×÷ExcelÎļþµÄÐèÇóÔ½À´Ô½Ç¿ÁÒ£¬Ä¿Ç°½ÏΪÁ÷ÐеIJÙ×÷ÊÇÔÚJSP»òServlet Öд´½¨Ò»¸öCSV £¨comma separated values£©Îļþ£¬²¢½«Õâ¸öÎļþÒÔMIME£¬text/csvÀàÐÍ·µ»Ø¸øä¯ÀÀÆ ......

javaÈÕÆÚ´¦Àí

 ×ª£º http://hi.baidu.com/jiong0818/blog/item/93f9b21641294b4d20a4e971.html JavaÖÐÈÕÆÚ¸ñʽת»» /** * ×Ö·û´®×ª»»Îªjava.util.Date
* Ö§³Ö¸ñʽΪ yyyy.MM.dd G 'at' hh:mm:ss z Èç '2002-1-1 AD at 22:10:59 PSD'
* yy/MM/dd HH:mm:ss Èç '2002/1/1 17:55:00'
* yy/MM/dd HH:mm:ss pm Èç '2002/1/1 17:55:00 p ......

Java¿ªÔ´Bug¸ú×Ùϵͳ


 ITracker 
ITracker»ùÓÚJ2EEµÄissue/bug¸ú×Ùϵͳ£¬Ö§³Ö¶àÓû§¡¢¶àÏîÄ¿¡¢Óʼþ֪ͨµÈ.
¸ü¶àITrackerÐÅÏ¢
 Scarab 
ScarabÊÇÒ»¸ö·Ç³£Áé»îµÄissue¹ÜÀíϵͳ.Ëü¾ßÓÐÒÔÏÂÌصã:
1.ÆäËüϵͳһÑù¶¼¾ßÓеÄÌصã:Êý¾ÝµÄÊäÈë,²éѯ,±¨¸æ,֪ͨµ½Ïà¹ØµÄµ±ÊÂÈË,×¢Ê͵ÄЭ×÷»ýÀÛ,ÒÀÀµ×·×ÙµÈ.
2.Scarabͨ¹ýÒ»×é¹ÜÀí ......

½« Flex ¼¯³Éµ½ Java EE Ó¦ÓóÌÐòµÄ×î¼Ñʵ¼ù


Ô­ÌûµØÖ·£ºhttp://www.ibm.com/developerworks/cn/java/j-lo-jeeflex/?S_TACT=105AGX52&S_CMP=tec-csdn
´«Í³µÄ Java EE Ó¦ÓóÌÐòͨ³£Ê¹ÓÃijÖÖ MVC ¿ò¼Ü£¨ÀýÈ磬Struts£©×÷Ϊǰ¶ËÓû§½çÃ棬Ëæ×Å Flex µÄÐËÆ𣬻ùÓÚ RIA µÄ¿Í»§¶ËÄܹ»¸øÓû§´øÀ´¸ü¿áµÄ½çÃ棬¸ü¶ÌµÄÏìӦʱ¼ä£¬ÒÔ¼°¸ü½Ó½üÓÚ×ÀÃæÓ¦ÓóÌÐòµÄÌåÑé¡£±¾ÎĽ«½²Ê ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ