An error occurred while running the jsp + access forum on jsp and tomcat.

Source: Internet
Author: User


Run on my server
The following problems occur in the Forum program...
Type Exception report
Message
Description The server encountered an internal error () that prevented it from fulfilling this request.
Exception org. apache. jasper. JasperException: Unable to compile class for JSP
An error occurred at line: 2 in the jsp file:/jspa/about. jsp
Generated servlet error:
[Javac] Compiling 1 source file
D: omcatworkStandalonelocalhost_jspaabout_jsp.java: 64: package test does not exist
Test. bbsuser user = null;
^
An error occurred at line: 2 in the jsp file:/jspa/about. jsp
Generated servlet error:
D: omcatworkStandalonelocalhost_jspaabout_jsp.java: 66: package test does not exist
User = (test. bbsuser) pageContext. getAttribute ("user", PageContext. PAGE_SCOPE );
^
An error occurred at line: 2 in the jsp file:/jspa/about. jsp
Generated servlet error:
D: omcatworkStandalonelocalhost_jspaabout_jsp.java: 69: package test does not exist
User = (test. bbsuser) java. beans. Beans. instantiate (this. getClass (). getClassLoader (), "test. bbsuser ");
^
An error occurred at line: 3 in the jsp file:/jspa/about. jsp
Generated servlet error:
D: omcatworkStandalonelocalhost_jspaabout_jsp.java: 79: package test does not exist
Test. bbsboard board = null;
^
An error occurred at line: 3 in the jsp file:/jspa/about. jsp
Generated servlet error:
D: omcatworkStandalonelocalhost_jspaabout_jsp.java: 81: package test does not exist
Board = (test. bbsboard) pageContext. getAttribute ("board", PageContext. PAGE_SCOPE );
^
An error occurred at line: 3 in the jsp file:/jspa/about. jsp
Generated servlet error:
D: omcatworkStandalonelocalhost_jspaabout_jsp.java: 84: package test does not exist
Board = (test. bbsboard) java. beans. Beans. instantiate (this. getClass (). getClassLoader (), "test. bbsboard ");
^
6 errors

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.