play框架项目1.03转1.1

qinyun18123 发布于 2011/01/11 10:48
阅读 687
收藏 0

我的项目原来是是用play1.03框架的,后来发现出了1.1版本之后就想用1.1框架来跑,

但是我用1.1运行之后是可以启动,但是不能访问,控制台出现了如下警告:

E:\SvnRoot\web>E:\play-1.1\play 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:\SvnRoot\web
09:56:50,468 INFO  ~ Module spring is available (E:\SvnRoot\web\modules\spring)
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.

浏览器访问一直都是在载入中的状态,不知道是怎么回事,难道升级框架还是需要改什么地方么?

加载中
0
q
qinyun18123

怎么都没有人回答呢,,,

0
鉴客
鉴客

这只是两个警告,不应该是无法访问的原因。

0
鉴客
鉴客

应该是跟应用有关系,因为用 Play 1.1 跑一个普通的应用完全没有任何问题。

再找找看有没有其他方面的异常吧

0
q
qinyun18123

其他方面并没有异常,,,

不知道从1.03移植到1.1的项目需要改些什么呢,,

0
大东哥
大东哥

先用play clean命令清理一下试试。

0
q
qinyun18123

用play clean命令清理了也还是一样不行,,,

0
q
qinyun18123

问题解决,原来是我项目里面的一个jar包和play冲突了,play1.1版本的改动还是很大啊,

返回顶部
顶部