Hi Fernando,

If this is the code, than you have an extra closing acolade (see the 
code below).

Hope it helps,
mihai


fernando pardo a écrit :
> hello all:
> anyone help me please?
>
> Im doing the course j2ee java programming the homework that belongs to 
> lab4101(lab#13)(JSFHelloworld)but i have the following problem,
>
> on the two last lines mark of the following file: class,interface or 
> enum expected
>
>
> I have the following  UserBean.java file :
>
> package com.corejsf;
>
> public class UserBean {
>    private String name;
>    private String password;
>    private String hobbie;
>    // PROPERTY: name
>    public String getName() { return name; }
>    public void setName(String newValue) { name = newValue; }
>   
>    // PROPERTY: password
>    public String getPassword() { return password; }
>    public void setPassword(String newValue) { password = newValue; }
> } *<-------------- extra acolade --------- !!!*
>    public String getHobbie() { return hobbie; }
>    public void setHobbie(String newValue) { hobbie = newValue;}
>    }
>   
> what can i do?
>
>
> -- 
> You received this message because you are subscribed to the Google
> Groups "Java EE (J2EE) Programming with Passion!" group.
> To post to this group, send email to
> java-ee-j2ee-programming-with-passion@googlegroups.com
> To unsubscribe from this group, send email to
> java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en
>  

-- 
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Reply via email to