我怎么每次想让他输出时间都报错 看不懂他说哪里错了

来源:4-2 session对象

qq_Clownssmile_0

2016-05-05 20:03

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: [14] in the generated java file: [C:\apache-tomcat-8.0.33\work\Catalina\localhost\firstweb\org\apache\jsp\session_jsp.java]
Only a type can be imported. javax.enterprise.inject.New resolves to a package


写回答 关注

1回答

  • 大楚有个小晟轩
    2016-05-05 20:48:55

    应该是jsp页面上面有类没有导入吧

    qq_Clo...

    问题我重新创建然后粘帖就好了。。。。

    2016-05-07 11:49:29

    共 1 条回复 >

JAVA遇见HTML——JSP篇

Java Web入门级教程JSP,带你轻松的学习JSP基础知识

248277 学习 · 3071 问题

查看课程

相似问题