Comment on Tutorial - XML and Java - Parsing XML using Java Tutorial By totheriver.com



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 totheriver.com
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



Ask a Question

Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Excellent!!!!! Thanks
View Tutorial          By: nimbostratue at 2009-12-09 13:07:09

2. thank u it hlep me a lot gr8.
View Tutorial          By: harish at 2012-03-31 14:34:50

3. PROGRAMMING SUPERB
View Tutorial          By: vinay sharma at 2010-10-01 05:16:23

4. Exception in thread "main" java.lang.NoC
View Tutorial          By: RobustTm at 2008-12-18 23:19:46

5. Thank you very much for this tip.
View Tutorial          By: Lise at 2011-07-15 13:27:23

6. hi,
i have tried to download the sun api fr

View Tutorial          By: raghu at 2009-01-07 05:45:33

7. This post is about adding an application icon to a
View Tutorial          By: Rick at 2011-11-04 16:48:16

8. someone explain how to use PreparedStatements with
View Tutorial          By: Manikprabhu at 2011-03-26 00:04:54

9. it worked fine in solving an algorithm assingment.
View Tutorial          By: tunde bello at 2009-11-05 06:31:28

10. a big thanks!
View Tutorial          By: xamae at 2010-01-13 02:52:51