play框架项目1.03转1.1
我的项目原来是是用play1.03框架的,后来发现出了1.1版本之后就想用1.1框架来跑,
但是我用1.1运行之后是可以启动,但是不能访问,控制台出现了如下警告:
E:SvnRootweb>E:play-1.1play run
~ _ _
~ _ __ | | __ _ _ _| |
~ | '_ | |/ _' | || |_|
~ | __/|_|____|__ (_)
~ |_| |__/
~
~ play! 1.1, http://www.playframework.org
~
~ Ctrl+C to stop
~
JPDA port 8000 is already used. Will try to use any free port for debugging
Listening for transport dt_socket at address: 3667
09:56:50,468 INFO ~ Starting E:SvnRootweb
09:56:50,468 INFO ~ Module spring is available (E:SvnRootwebmodulesspring)
09:56:51,218 WARN ~ You're running Play! in DEV mode
09:56:51,375 INFO ~ Listening for HTTP on port 9000 (Waiting a first request to
start) ...
2011-1-11 9:56:59 org.jboss.netty.channel.DefaultChannelPipeline
警告: Handler 'play.server.StreamChunkAggregator' does not have a 'ChannelPipeli
neCoverage' annotation with its class declaration. It is strongly recommended to
add the annotation for a documentation purpose to tell if a single handler inst
ance can handle more than one pipeline ("all") or not ("one")
警告: Handler 'play.server.PlayHandler' does not have a 'ChannelPipelineCoverage
' annotation with its class declaration. It is strongly recommended to add the a
nnotation for a documentation purpose to tell if a single handler instance can h
andle more than one pipeline ("all") or not ("one")
09:57:10,921 INFO ~ MLog clients using log4j logging.
09:57:11,015 INFO ~ Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debu
g? true; trace: 10]
09:57:11,359 INFO ~ New update(s) found: 2.3.0 [http://www.terracotta.org/confl
uence/display/release/Release+Notes+Ehcache+2.3.0]. Please check http://ehcache.
org for the latest version.
浏览器访问一直都是在载入中的状态,不知道是怎么回事,难道升级框架还是需要改什么地方么?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
问题解决,原来是我项目里面的一个jar包和play冲突了,play1.1版本的改动还是很大啊,
用play clean命令清理了也还是一样不行,,,
先用play clean命令清理一下试试。
其他方面并没有异常,,,
不知道从1.03移植到1.1的项目需要改些什么呢,,
这只是两个警告,不应该是无法访问的原因。