only a type can be imported: xxxx.object resolves to a package
solution:
right click project
select properties
J2ee module dependencies
web libraries select all
solution:
right click project
select properties
J2ee module dependencies
web libraries select all