JBoss Eclipse IDE

JBoss Eclipse IDE Tools 1.4.1 Stable,在Eclipse V3.1的里程碑版本6(M6)极其之前版本可以运行,但在Eclipse3.1正式版本(Version: 3.1.0  Build id: I20050627-1435)中会出现下列错误:

org.eclipse.jdt.internal.ui.wizards.NewWizardMessages.getString(Ljava/lang/String;)Ljava/lang/String;

要修正这个错误,Eclipse3.1的用户需要JBossIDE1.5版本,通过改用这个版本,问题自然就解决了.该问题详细说明可见 http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossIDEInstallationFAQ ,摘其说明如下:
Q : How do I install JBoss-IDE ?

A : You have two options to install JBoss-IDE :


Download the latest zip bundle and unzip it into your Eclipse installation.
Use the Eclipse install/update manager. The update sites for JBoss-IDE are:
JBossIDE Stable Update Site (1.3 and 1.4 series): http://download.jboss.org/jbosside/updates/stable
JBossIDE Development (unstable) Update Site (1.5 Milestone Series): http://download.jboss.org/jbosside/updates/development

Users of Eclipse 3.1 Need to use version 1.5 of the JBossIDE (see the bug report for details.)

You can find the complete step-by-step installation procedure in the downloadable PDF, JBoss-IDE Installation Guide. Or look at step-by-step instructions (and more) in this article .

Note:

If you are using Java 1.4.2_05 or later to launch JBoss from the IDE, you must set a VM argument in your JBoss-IDE launch configuration(s) or you will get an exception when you launch. Please see the JBoss-IDE General FAQ for instructions in the Launching Topics section.

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

在使用JBoss组织提供的教程(JBossIDE-Tutorial-1.4.1)中,提供的例子可以很好的运行在JBoss AS4.01sp1之前的任何版本,但在4.02版本中运行出现了问题,经过对比,发现问题出在Web模块这个地方:

对于401以内的,Web模块的配置中,Set the prefix to WEB-INF/classes,这个操作是没有问题的:

对于402,则会出现JNDI 错:Lookup of java:/comp/env/ failed.纠正这个错误需要Set the prefix to blank!,如图:

这两种不同配置导致如下的web档案的结构,左面的是402的.

该问题参考:

http://www.jboss.org/index.html?module=bb&op=viewtopic&t=59192

http://www.jboss.com/?module=bb&op=viewtopic&t=56897

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值