JSF中 Target Unreachable, returned null錯誤的解決
頁面程式碼
選擇不同的下拉選單值報錯 Target Unreachable, returned null,感覺莫名奇妙,仔細檢查發現錯誤在Bean沒有初始化。
原bean:
package org.eastwill.view.bean;
public class PatientBasicBean {
private PatientBasic patientBasic;
private PatientComm patientComm;
... ...
改後Bean:
package org.eastwill.view.bean;
public class PatientBasicBean {
private PatientBasic patientBasic = new PatientBasic();
private PatientComm patientComm = new PatientComm();
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/11754099/viewspace-1031860/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Excel匯入null錯誤解決方式ExcelNull
- ant打包出現null returned: 1報錯Null
- ORA-01407: cannot update to null 錯誤解決Null
- MYSQL中 TYPE=MyISAM 錯誤的解決方法MySql
- 錯誤pointcut is null in InterceptorsChainNullAI
- /var/log/message 錯誤error (network unreachable)Error
- Target runtime Apache Tomcat v6.0 is not defined.錯誤解決方法ApacheTomcat
- Ajax中“Sys未定義”錯誤的解決方法
- RMAN的"rman: can't open target"錯誤
- 下面EJB中的RealationShip錯誤怎麼解決呢?
- QT錯誤之——collect2:ld returned 1 exit statusQT
- 如何修復 Ubuntu 上“…script returned error exit status 1”的錯誤UbuntuError
- undefined reference to錯誤的解決方法Undefined
- SAXParseException的錯誤解決之二Exception
- PHP錯誤“Thisfilehasexpired”的解決方法PHP
- iOS 解決 Xcode 8中更新 SnapKit 3.0 的錯誤iOSXCodeAPK
- VIM 常用錯誤解決
- sqldeveloper for windows 錯誤解決SQLDeveloperWindows
- dns錯誤怎麼辦 dns錯誤的解決辦法DNS
- 【Redis】錯誤:failed: Hostname must not be empty or nullRedisAINull
- 無法發貼,NULL錯誤,求助!Null
- vsftpd 錯誤:530 and 500 錯誤解決方法FTP
- 解決MySQL server has gone away錯誤的解決方案MySqlServerGo
- Eclipse中解決Multiple annotations found at this line錯誤。Eclipse
- CentOS 中yum命令執行錯誤解決辦法CentOS
- 使用Aihubmix API 服務中遇到錯誤與解決AIAPI
- Qt報Multiple definition錯誤的解決QT
- Cocopods的升級錯誤解決
- 解決 ngrok 的 Domain 錯誤問題AI
- 錯誤Namenodeisinsafemode的解決方法
- 解決DBCA的ORA-32700錯誤
- 【MySQL】解決mysql的 1594 錯誤MySql
- latex 錯誤以及解決方案
- ora-27504錯誤解決
- Datastore error in 'dirbdb'錯誤解決ASTError
- ORA-27054 錯誤解決
- mysql與php錯誤解決MySqlPHP
- mysql錯誤解決總結MySql