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



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. Hello, Can you please send me the complete code to
View Tutorial          By: koksingh at 2008-01-15 00:22:40

2. gud example, we welcome you
View Tutorial          By: jasim Khalid almurakh meherbani at 2010-09-20 03:14:25

3. Can anybody send me the java full code for sending
View Tutorial          By: David at 2010-08-22 22:57:38

4. really great, goes more in depth than cplusplus.co
View Tutorial          By: ss80 at 2008-07-02 06:45:47

5. Thank you very much for explaning the things in su
View Tutorial          By: Sunil Yadav at 2010-05-27 04:04:31

6. Excellent.. simple and too good to understand
View Tutorial          By: venkat at 2010-05-11 00:30:02

7. pls help on me to program in c++, write a program
View Tutorial          By: Hamid at 2014-12-18 20:41:40

8. Neatly explained about the three important functio
View Tutorial          By: Jitendra Lenka at 2011-02-03 06:34:10

9.
View Tutorial          By: pmprash at 2009-12-22 01:15:33

10. dude its forces closes everytime what to do .....h
View Tutorial          By: raam at 2013-01-10 13:05:57