Due to the error, it seems that you are trying to import something that is not a class.
If your MyFunctions is a class, you need to import it as follows:
<%@page import="com.TransportPortal.MyFunctions"%>
If this is a package and you want to import everything into a package, you should do like this:
<%@page import="com.TransportPortal.MyFunctions.* "%>
Edit
There are two cases that will give you this error, edited for both.
Jan Zyka
source share