+1 vote
562 views
in Programming by (2.8k points)
Hello guys have you faced this problem ever while importing a class in eclipse juno ?
this error is coming DataLayer cannot be resolved to a type in jsp.
Not getting any solution.
See my code am I doing anything wrong here?
package cars;
 import java.util.*;
 public class DataLayer{
    public Date returnDate() {
    Date d=new Date();
    return d;
    }
    }
 
If you know the solution so please help me out.Thanks!

1 Answer

0 votes
by (440 points)
I think you should clean your project Or restart the eclips then try to run, May be it will help you.

Not a Member yet?

Ask to Folks Login

My Account

Your feedback is highly appreciated