---
title: " Unable to find a value ...using operator \".\""
author: "simon_zhang"
date: "2008-04-29T09:27:40Z"
tags: []
categories: ["编程语言"]
slug: "unable-to-find-a-value-using-operator"
draft: false
lastmod: "2010-11-30T11:29:24Z"
id: 187885
url: "https://mogee.iteye.com/blog/187885"
---

```提示错误：
javax.servlet.jsp.el.ELException: Unable to find a value 
for "Name" in object of class "com.cabletech.plan.util.TreeNode" using operator "."
```


javaBean 中的变量首字母不能大写，要遵守java编码规范。

```java
public class TreeNode {
	private String id;
	private String name;
	....
}
```

不能写成

```java
public class TreeNode {
	private String ID;
	private String Name;
	....
}
```

这样之后就有可能找不到哦！