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. Can anybody send full code for sending and receivi
View Tutorial          By: Jayapal at 2010-08-12 11:41:38

2. at
OK
at+cmff=1
OK
at+

View Tutorial          By: shrinivas at 2009-03-07 23:16:51

3. Thanks...
View Tutorial          By: SHUVO at 2015-07-01 21:20:47

4. Muy buen ejemplo, aunque como idea general podr&At
View Tutorial          By: Ligator at 2013-07-26 05:57:47

5. If i delete a record, will that recId be replaced
View Tutorial          By: faisal at 2009-06-08 21:36:29

6. What is AWS?
View Tutorial          By: Toja at 2013-01-22 10:36:45

7. Hi,

I tried this script with noki

View Tutorial          By: sravan at 2009-07-11 11:17:45

8. i am new to SMS, i think i need a device too. Whic
View Tutorial          By: Usman at 2015-10-05 12:06:34

9. i want to say only one thing

great

View Tutorial          By: ashish at 2009-06-09 21:36:45

10. Your explanation is perfectly clear and not in nee
View Tutorial          By: Percy at 2009-06-08 14:14:39