关于Seam 2.0.2GA版本,遇到个问题,help!
j2093
2008-05-28
这个个版本直接使用seam-gen的命令set up是不行的。需要先用ant部署一下,我就是在部署这步出现问题了。运行ant build会下载一系列的文件。但是我确下载不了,查了下也没有确切答案,不过有人说不能使用代理连接internet。不过我所在的单位必须通过代理才可以上网。
有没有办法解决啊? 我想如果谁有已经ant build成功之后的seam文件夹,给我传一份也好,谢谢了。 如果太大只需传增加的部分就好了。我的邮箱是jiangwei-good@163.com |
|
wetouns
2008-05-28
在SEAM的目录下用ANT,好恐怖,上次不小心打了一下这个命令.建议你使用eclipse的fall2版本,jboss tools就用2.0.1GA,SEAM也用2.0.1GA,这样你就可以直接用jboss tools直接生成没有错误的SEAM项目拉.我一直在使用,感觉很好,没出过什么错误,在此也给大家推荐一下.
另外jboss tools出了2.1CR版,感兴趣的可以下载回来和SEAM2.0.2GA版配合使用一下,新版的jboss tools修复了不少BUG. |
|
graying
2008-05-30
发给你咯
![]() |
|
j2093
2008-05-30
谢谢 楼上的两位!!
|
|
j2093
2008-05-30
wetouns 写道 在SEAM的目录下用ANT,好恐怖,上次不小心打了一下这个命令.建议你使用eclipse的fall2版本,jboss tools就用2.0.1GA,SEAM也用2.0.1GA,这样你就可以直接用jboss tools直接生成没有错误的SEAM项目拉.我一直在使用,感觉很好,没出过什么错误,在此也给大家推荐一下.
另外jboss tools出了2.1CR版,感兴趣的可以下载回来和SEAM2.0.2GA版配合使用一下,新版的jboss tools修复了不少BUG. 我开始也是用eclipse配合seam插件用的 不过生成的程序总有问题 于是才想着投奔seam-gen的怀抱的。我的配置是这样的 jboss tools就用2.0.1GA,SEAM也用2.0.2GA,ecipse用的是eclipse-jee-europa这个版本。 ![]() |
|
isky
2008-05-30
jboss.entity.manager.jndi.name
decription : JBoss does not publish container managed EntityManagers in JNDI by default. Use this to bind it. jboss.entity.manager.factory.jndi.name decription : JBoss does not publish container managed EntityManagerFactorys in JNDI by default. Use this to bind it. jboss.no.implicit.datasource.dependency decription : JBoss tries to register deployment dependencies for datasource by guessing the dependency name based on the jndi name of the datasource. Use this switch if the guess is wrong. 那位深刻滴介绍一下?? |
|
wetouns
2008-06-02
j2093 写道 wetouns 写道 在SEAM的目录下用ANT,好恐怖,上次不小心打了一下这个命令.建议你使用eclipse的fall2版本,jboss tools就用2.0.1GA,SEAM也用2.0.1GA,这样你就可以直接用jboss tools直接生成没有错误的SEAM项目拉.我一直在使用,感觉很好,没出过什么错误,在此也给大家推荐一下.
另外jboss tools出了2.1CR版,感兴趣的可以下载回来和SEAM2.0.2GA版配合使用一下,新版的jboss tools修复了不少BUG. 我开始也是用eclipse配合seam插件用的 不过生成的程序总有问题 于是才想着投奔seam-gen的怀抱的。我的配置是这样的 jboss tools就用2.0.1GA,SEAM也用2.0.2GA,ecipse用的是eclipse-jee-europa这个版本。 ![]() 如果你需要可以联系我 qq:47866346 |
|
isky
2008-06-03
isky 写道 jboss.entity.manager.jndi.name
decription : JBoss does not publish container managed EntityManagers in JNDI by default. Use this to bind it. jboss.entity.manager.factory.jndi.name decription : JBoss does not publish container managed EntityManagerFactorys in JNDI by default. Use this to bind it. jboss.no.implicit.datasource.dependency decription : JBoss tries to register deployment dependencies for datasource by guessing the dependency name based on the jndi name of the datasource. Use this switch if the guess is wrong. 那位深刻滴介绍一下?? 这里是把entityManager 或者 entityManagerFactory 绑定到JNDI中, 为了是是在components.xml中引用 <persistence:managed-persistence-context name="entityManager" auto-create="true" persistence-unit-jndi-name="java:/entityManagerFactory"/> 同时在我们的sessionBean中就可以这样引用了 @in EntityManager entitymanager; 或者 @PersistenceContext EntityManager entitymanager; 但是 如果没有把entityManagerFactory绑定JNDI中 就不能用seam的@in注解来注入相应的值。只能用@PersistenceContext 来注入。 |
|
little51
2008-06-06
我的开发环境:
jboss-4.2.2.GA jboss-seam-2.0.2.GA.zip JBossTools-2.0.0.CR1-ALL-win32 jdk1.6.0.4 eclipse-jee-europa-fall2-win32 一直挺好的,用ant太麻烦 |