type Exception report

message Unable to compile class for JSP:

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: 11 in the jsp file: /index.jsp
User cannot be resolved to a type
8: <title>Insert title here</title>
9: </head>
10: <body>
11: <jsp:useBean ></jsp:useBean>


解决办法:
新建class的时候不选择默认的包,而是自己建立一个包
<jsp:useBean ></jsp:useBean>

相关文章:

  • 2021-05-23
  • 2021-04-30
  • 2021-12-25
  • 2021-09-25
  • 2021-10-28
猜你喜欢
  • 2022-01-10
  • 2021-09-15
  • 2021-04-04
  • 2022-12-23
  • 2021-11-22
  • 2022-01-01
相关资源
相似解决方案