Programming Tutorials

Comment on Tutorial - XML and Java - Parsing XML using Java Tutorial By Maggie



Comment Added by : Suresh Kumar D

Comment Added at : 2013-06-25 07:06:19

Comment on Tutorial : XML and Java - Parsing XML using Java Tutorial By Maggie
Hi mate,
When I compile the DomParserExample.java I ended up with the following errors.
DomParserExample.java:183: cannot find symbol
symbol : class Employee
location: class DomParserExample
private Employee getEmployee(Element empEl) {
^
DomParserExample.java:153: cannot find symbol
symbol : class Employee
location: class DomParserExample
Employee e = getEmployee(el);
^
DomParserExample.java:205: cannot find symbol
symbol : class Employee
location: class DomParserExample
Employee e = new Employee(name,id,age,type);
^
DomParserExample.java:205: cannot find symbol
symbol : class Employee
location: class DomParserExample
Employee e = new Employee(name,id,age,type);
^
4 errors

Could you please help me to rectify that.


View Tutorial