If you see the following
Only a type can be imported. XYZ resolves to a package.
when you try to import a class into your JSP, the reason is the following:
the class is not available anywhere - either in the WEB-INF/lib or (or server/lib or lib of your tomcat instance).