i am inserting record through bean and jsp , i am getting this error message , it doesn't have any path error , i am getting error message given below:


org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 8 in the jsp file: /jsp/submitAchive.jsp

Generated servlet error:
[javac] Compiling 1 source file

C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\hello\jsp\submitAchive_jsp.java:50: cannot access stu.student


An error occurred at line: 8 in the jsp file: /jsp/submitAchive.jsp

Generated servlet error:
bad class file: C:\Program Files\Apache Group\Tomcat 4.1\webapps\hello\WEB-INF\classes\stu\student.class
class file contains wrong class: student
Please remove or make sure it appears in the correct subdirectory of the classpath.
stu.student st = null;
^
1 error

Please explain what is the problem