当前位置: 代码迷 >> Java Web开发 >> 新手有关问题,希望大姐大哥们帮帮忙
  详细解决方案

新手有关问题,希望大姐大哥们帮帮忙

热度:102   发布时间:2016-04-17 16:48:24.0
新手问题,希望大姐大哥们帮帮忙,在线等
我运行一个简单的JSP的就可以,我把做好的项目放进去就不行了
错误提示如下:
type   异   常   报   告

信   息  

描   述   服务器遇到内部错误,无法满足这个访问请求

异   常  

org.apache.jasper.JasperException:   无法编译JSP

Generated   servlet   error:
Only   a   type   can   be   imported.   com.xiaoxs.common.db.DBTools   resolves   to   a   package

Generated   servlet   error:
Only   a   type   can   be   imported.   com.xiaoxs.common.tools.StrTools   resolves   to   a   package

Generated   servlet   error:
Only   a   type   can   be   imported.   com.xiaoxs.common.tools.Tools   resolves   to   a   package

Generated   servlet   error:
Only   a   type   can   be   imported.   com.xiaoxs.common.page.PageManager   resolves   to   a   package

Generated   servlet   error:
Only   a   type   can   be   imported.   com.xiaoxs.common.page.Page   resolves   to   a   package

An   error   occurred   at   line:   24   in   the   jsp   file:   /www/index.jsp
Generated   servlet   error:
DbHandler   cannot   be   resolved   to   a   type

An   error   occurred   at   line:   24   in   the   jsp   file:   /www/index.jsp
Generated   servlet   error:
DbHandler   cannot   be   resolved   to   a   type

An   error   occurred   at   line:   24   in   the   jsp   file:   /www/index.jsp
Generated   servlet   error:
Admin   cannot   be   resolved   to   a   type

An   error   occurred   at   line:   24   in   the   jsp   file:   /www/index.jsp
Generated   servlet   error:
Admin   cannot   be   resolved   to   a   type

An   error   occurred   at   line:   24   in   the   jsp   file:   /www/index.jsp
Generated   servlet   error:
AdminManager   cannot   be   resolved   to   a   type

An   error   occurred   at   line:   24   in   the   jsp   file:   /www/index.jsp
Generated   servlet   error:
AdminManager   cannot   be   resolved   to   a   type


org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


起   因  

org.apache.jasper.JasperException:   无法编译JSP

Generated   servlet   error:
Only   a   type   can   be   imported.   com.xiaoxs.common.db.DBTools   resolves   to   a   package

Generated   servlet   error:
Only   a   type   can   be   imported.   com.xiaoxs.common.tools.StrTools   resolves   to   a   package

Generated   servlet   error:
Only   a   type   can   be   imported.   com.xiaoxs.common.tools.Tools   resolves   to   a   package
  相关解决方案