当前位置: 代码迷 >> Java Web开发 >> 使用Bean时出错解决方案
  详细解决方案

使用Bean时出错解决方案

热度:28   发布时间:2016-04-17 15:46:02.0
使用Bean时出错
连接bean时报错如下:
type   Exception   report

message  

description   The   server   encountered   an   internal   error   ()   that   prevented   it   from   fulfilling   this   request.

exception  

org.apache.jasper.JasperException:   /test/usebean.jsp(11,0)   The   value   for   the   useBean   class   attribute   .swing.UseBeanBean   is   invalid.



------解决方案--------------------
这个类你编译好并且放到class下面了吗?
attribute .swing.UseBeanBean
------解决方案--------------------
一定要求放在class文件夾下才能被執行
------解决方案--------------------
org.apache.jasper.JasperException: /test/usebean.jsp(11,0) The value for the useBean class attribute .swing.UseBeanBean is invalid.

到usebean.jsp中去找11行,问题:attribute.swing.UseBean 非法,
代码迷推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.daimami.com/search?q=317
  相关解决方案