运行出错:struts+eclipse+tomcat5.0

wilsoniscool 2004-12-15 07:32:21
用struts1.1+eclipse3.0+tomcat5.0调试http://localhost:8080/mystruts/pages/login.jsp
时显示如下错误:

exception

org.apache.jasper.servlet.jspservletwrapper.service(jspservletwrapper.java:372)
org.apache.jasper.servlet.jspservlet.servicejspfile(jspservlet.java:292)
org.apache.jasper.servlet.service.(jspservlet.java:236)
javax.servlet.http.httpservlet.service(httpservlet.java:802)

root cause

java.langNullpointer.exception

org.apache.struts.taglib.tagutils.retrieve.messageresources(tagutilsjava:1219)
org.apache.struts.taglib.tagutils.message(tagutils.java:1082)
org.apache.struts.taglib.tagutils.bean.messageTag.dostartTag(message.Tag.java:226)
org.apaache.jsp.pages.login-jsp:jspx_meth_bean_message
请各位大虾指点..问题解决就给分......
...全文
127 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
wilsoniscool 2004-12-17
  • 打赏
  • 举报
回复
还是没有解决呀..各位兄弟....
chenyumao 2004-12-16
  • 打赏
  • 举报
回复
java.langNullpointer.exception.
源代码中应该有
Bean aa;或者
Bean aa_null;
所以报langNullpointer.exception空指针错误
应该bean aa=new Bean();
wilsoniscool 2004-12-16
  • 打赏
  • 举报
回复
红薯*稀饭兄弟..你让我看什么呀.
liusoft 2004-12-16
  • 打赏
  • 举报
回复
是struts资源文件没设置好吧

http://www.javayou.com
aurain 2004-12-15
  • 打赏
  • 举报
回复
message.Tag.java:226
messageTag.java的226行有错误!
wilsoniscool 2004-12-15
  • 打赏
  • 举报
回复
login.jsp是正确的....action和form都是正确的...就是运行不起来.
popufig 2004-12-15
  • 打赏
  • 举报
回复
java.langNullpointer.exception

自己找找吧
speedingman 2004-12-15
  • 打赏
  • 举报
回复
login.jsp正确吗?

67,512

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧