JBoss Seam 项目错误
我有一个 JBoss Seam 项目,是一位同事大约一年前创建的。我现在接管它,它需要完成一些工作。所以我尝试在 Eclipse Indigo 中设置该项目。以下是我迄今为止安装的内容列表:
JBoss 4.2.2 GA
JBoss Seam 2.2.0 GA
Glassfish v2.1
适用于 Eclipse Indigo 的 JBoss Seam Tools 插件
由于某些原因,我无法构建项目来了解 JBoss。我遇到的错误是 glassfish-builld.xml 中的一个错误,其中显示“此项目中不存在目标清理”。然后我在一堆 generic.jsp 文件中出现错误(我不知道它们的目的是什么)。这些错误是无法找到名为 org.jboss.seam.wiki.util.WikiUtil 的 JBoss Seam 库。
有人可以为我指明正确的方向,以便在 JBoss 上进行此设置并运行吗?
I have a JBoss Seam project that a coworker created about a year ago. I'm taking over it now and it needs some work done. So I'm trying to setup the project in Eclipse Indigo. Here is the list of things I have installed so far:
JBoss 4.2.2 GA
JBoss Seam 2.2.0 GA
Glassfish v2.1
JBoss Seam Tools Plugin for Eclipse Indigo
For some reason I am not able to build the project to get an ear for JBoss. The errors I have are one in glassfish-builld.xml which says "Target clean does not exist in this project." And then I have errors in a bunch of generic.jsp file (I have no idea what their purpose is). The error for those is that a library for JBoss Seam called org.jboss.seam.wiki.util.WikiUtil cannot be found.
Can someone point me in the right direction to get this setup and running on JBoss?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
另外,org.jboss.seam.wiki.util.WikiUtil 是一个类,它是...Seam 示例项目的一部分,该项目已添加到 examples/wiki 中的 JBoss Seam 发行版中> 目录。因此,如果您确实需要它,您将能够在那里找到它。但老实说,我不认为有任何理由对项目中的 Seam 示例产生任何依赖。考虑删除/注释掉引用此类的代码,因为它可能是一些快速而肮脏的测试代码。
Also
org.jboss.seam.wiki.util.WikiUtil
is a class that is a part of... Seam example project that is added to JBoss Seam distribution in examples/wiki directory. So if you really need it you will be able to find it there. But honestly I don't see any reason to put any dependency to Seam examples in project. Consider just deleting / commening out the code that refers to this class becasue it is probably some quick and dirty test code.您想在 Glassfish 还是 Jboss 上运行它?
您导入了整个 Eclipse 项目还是创建了一个新项目?
我会首先检查引用的库,看看是否缺少任何内容(Helios 的 Java 构建路径下的库,不确定这是否与 Indigo 不同)。将 -verbose 标记添加到构建并检查输出。
Do you want to run it on Glassfish or Jboss?
Did you import an entire eclipse project or create a new one?
I would first check the referenced libraries to see if there's anything missing(Libraries under Java Build Path for Helios, not sure if that differs from Indigo). Add a -verbose tag to the build and check out the output.