[英]Getting JBoss Seam to work with Eclipse
I have been trying to get to run a simple example project with JBoss Seam in Eclipse 3.5. 我一直试图在Eclipse 3.5中使用JBoss Seam运行一个简单的示例项目。 So far unsuccessfully. 到目前为止没有成功。
What i did: 我做了什么:
But i keep getting 但是我不断
javax.naming.NameNotFoundException: HelloWorldSeamProjektDatasource not bound
I have been reading a lot of forums and playing around with the web.xml, server.xml, context.xml and HelloWorldSeamProjekt-ds.xml. 我已经阅读了很多论坛,并使用了web.xml,server.xml,context.xml和HelloWorldSeamProjekt-ds.xml。
My guess is that the JNDI setup of my database resource is broken. 我的猜测是我的数据库资源的JNDI设置已损坏。 I tried a bunch of different approaches like a global resource, different names (comp/env/) but nothing worked. 我尝试了许多不同的方法,例如全局资源,不同的名称(comp / env /),但没有任何效果。
All the tutorials i found use different (and mostly outdated) combinations of Seam, Tomcat and Eclipse. 我发现的所有教程都使用Seam,Tomcat和Eclipse的不同(且大多已过时)组合。
I'm getting frustrated. 我感到沮丧。
Can someone please point me to a simple setup to get me started? 有人可以给我指出一个简单的设置来帮助我入门吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.