使用“Persist” Tapestry中的注释导致RunJettyRun的问题 [英] Using "Persist" annotation in Tapestry is causing Problems with RunJettyRun

查看:130
本文介绍了使用“Persist” Tapestry中的注释导致RunJettyRun的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在通过Tapestry初学者教程: http://tapestry.apache.org/ tapestry-tutorial.html

I am going through the Tapestry beginner tutorial at: http://tapestry.apache.org/tapestry-tutorial.html

我刚刚下载了模板项目,并按原样运行。

I just downloaded the template project and tried running it as is.

问题是将 @Persist 注释添加到属性中,我的应用程序无限期挂起。我意识到,当我使用 RunJettyRun 配置从Eclipse启动我的应用程序时,会发生这种情况。如果我使用mvn jetty从命令提示符运行它:运行它很好。

The problem is adding the @Persist annotation to the property my application hangs indefinitely. I realized that it happens when I launch my application from Eclipse using a RunJettyRun configuration. If I run it form the command prompt with mvn jetty:run it works fine.

我注意到我的机器上的RunJettyRun版本与截图完全不一致Tapestry教程。矿井允许您从三种不同的Jetty版本中选择:

I notice that the RunJettyRun version on my machine does not match up exactly with the screenshots in the Tapestry tutorial. Mine allows you to select from three different Jetty versions:

Jetty 6.1
Jetty 7.5
Jetty 8.0

Jetty 6.1 Jetty 7.5 Jetty 8.0

版本8根本不启动。 6和7有悬挂错误。
使用Jdk1.7,Eclipse Indigo和Windows XP。

Version 8 doesn't launch at all. 6 and 7 have the hanging error. Using Jdk1.7, Eclipse Indigo and Windows XP.

推荐答案


我意识到当我使用RunJettyRun配置从Eclipse启动我的应用程序时,会发生这种情况。如果我使用mvn jetty从命令提示符运行它:运行它的工作正常。

I realized that it happens when I launch my application from Eclipse using a RunJettyRun configuration. If I run it form the command prompt with mvn jetty:run it works fine.

我是RJR团队的维护者,更像RunJettyRun的错误,如果你可以很好的运行mvn jetty:run。

I am a maintainer of RJR team , that sounds more like a RunJettyRun bug if you could run it well with "mvn jetty:run".

因为我不熟悉Tapestry,如果你可以提供可重复的战争文件并复制步骤,并在RJR的追踪器上提出问题,

Because I am not familiar with Tapestry, if you could provide the reproducible war file and reproduce steps, and file a issue on RJR's tracker,

然后我会尝试检查是否有任何可以做的事情。

then I will try to check if there's anything we could do for it.

这听起来更像是配置冲突或版本问题,但这只是一个快速的猜测。

It sounds more like configuration conflict or version issue, but it's just a quick guess.

http://code.google.com/p/run-jetty-run/issues/列表

这篇关于使用“Persist” Tapestry中的注释导致RunJettyRun的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆