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

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


原文链接: http://blog.csdn.net/keepeye/article/details/453213

你可能感兴趣的:(JBoss Eclipse IDE)