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
- MYSQL中 TYPE=MyISAM 錯誤的解決方法MySql
- Ocelot錯誤解決
- PHP中的Malformed UTF-8 characters錯誤解決PHPORM
- undefined reference to錯誤的解決方法Undefined
- Cocopods的升級錯誤解決
- ORA-12005 錯誤的解決
- SAXParseException的錯誤解決之二Exception
- 【STM32】使用Keil5載入程式時出現No Target Connected錯誤的解決辦法
- 解決 Python UnicodeEncodeError 錯誤PythonUnicodeError
- 【Redis】錯誤:failed: Hostname must not be empty or nullRedisAINull
- dbfread報錯ValueError錯誤解決方法Error
- 解決 ngrok 的 Domain 錯誤問題AI
- Qt報Multiple definition錯誤的解決QT
- 解決MySQL server has gone away錯誤的解決方案MySqlServerGo
- PbootCMS 404 錯誤解決方法boot
- Linux下錯誤解決方案Linux
- latex 錯誤以及解決方案
- HTTP 錯誤 500.19- Internal Server Error 錯誤解決方法HTTPServerError
- 使用Aihubmix API 服務中遇到錯誤與解決AIAPI
- Error: Expected ref to be a function, a string, an object returned by React.createRef(), or null.ErrorFunctionObjectReactNull
- steam磁碟寫入錯誤怎麼解決 steam磁碟寫入錯誤解決方法大全
- 使用Spring 的 Null-Safety免受空指標錯誤SpringNull指標
- 解決 eslint 的 Parsing error: Unexpected token 錯誤EsLintError
- Mac上搭建chromedriver的錯誤解決方法MacChrome
- standby新增檔案錯誤的解決方法
- nginx出現403錯誤的解決方法Nginx
- 一個 ExpressionChangedAfterItHasBeenCheckedError 錯誤的解決過程ExpressError
- 問題解決:TNS-12543: TNS:destination host unreachable
- ORA-28000錯誤解決方案
- dedecms提示500錯誤解決方法
- PHP curl error 60 錯誤解決PHPError
- linux解決“XXX is not in the sudoers file”錯誤Linux
- 解決java.lang.NoSuchMethodError錯誤JavaError
- HTTP代理錯誤怎麼解決?HTTP
- [20190104]sga_target 的設定和ORA-04031錯誤.txt
- TCP網路除錯助手提示錯誤:“1035:未知錯誤” 解決方案TCP除錯
- 解決 PBootCMS 中因資料庫名稱錯誤導致的“執行 SQL 發生錯誤!錯誤:no such table: ay_config”問題boot資料庫SQL