Myeclipse开发Struts遇到错误

AppleQ 2007-01-21 01:28:36
我用myeclipse实验《JSP开发应用详解》上ch17的struts简单应用。

我的环境:

jdk 1.5
Eclipse 3.1(已汉化)
myeclipse 4.1.1 GA
书上stuts应用应该是1.1的
tomcat 5.5

我配置完struts-config.xml 在server.xml设置了数据库源,开启Sql Server 2000 。

--------------------------------------------------------------
但在将项目文件拖入ch17这个项目时候出现错误,随后jsp文件什么的都打不开了:

由于发生内部错误而无法创建此部件。产生该故障的原因是:An error has occurred when initializing the input for the the editor's source page.

An error has occurred when initializing the input for the the editor's source page.
at com.genuitec.eclipse.webdesigner2.HTMLMultiPageEditorPart.createPages(HTMLMultiPageEditorPart.java:275)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:241)

..........................................................(省略)

在Eclipse里“问题”中这样写的:

Run-time exception java.lang.InternalError occurred during validation. The validator being run was JSP Validator and the message thrown was jzentry == 0,
jzfile = 79651040,
total = 389,
name = d:\workspace\ch17\WebRoot\WEB-INF\lib\standard.jar,
i = 78,
message = invalid LOC header (bad signature).

-----------------------------------------------------------------

我在实验JSTL项目的时候也发生过类似错误,实在搞不懂,望高人指教!
...全文
172 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
AppleQ 2007-01-21
  • 打赏
  • 举报
回复
我已经自己解决了 是因为我的一个JAR文件有CRC错误,因为是从光盘复制出来的
AppleQ 2007-01-21
  • 打赏
  • 举报
回复
有没有别的解决方案啊
xiaofei1981 2007-01-21
  • 打赏
  • 举报
回复
汉化版的经常会有问题,建议用英文版

81,092

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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