为什么在玩的IntelliJ框架项目花费过多时间在浏览器中加载 [英] why play framework project in intellij taking too much time to load in browser

查看:120
本文介绍了为什么在玩的IntelliJ框架项目花费过多时间在浏览器中加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个游戏框架项目在我的IntelliJ IDE,当我在浏览器中它需要6分钟,在浏览器,在我的控制台完全刷新页面启动服务器并停止并重新加载页面等六分钟

I have a play framework project in my Intellij IDE when I reload page in browser Its takes 6 minutes to completely reload page in browser and in my console it starts the server and stops it and so on for six minutes

我的控制台输出中

--- (RELOAD) ---

INFO  - Shutting down connection pool...
DEBUG - Terminating pool watch thread
INFO  - Connection pool has been shutdown.
DEBUG - Connection pool has been shut down
INFO  - datasource [jdbc:postgresql://localhost:5432/portaljob] bound to JNDI as DefaultDS
DEBUG - JDBC URL = jdbc:postgresql://localhost:5432/portaljob, Username = postgres, partitions = 1, max (per partition) = 30, min (per partition) = 5, idle max age = 10 min, idle test period = 1 min, strategy = DEFAULT
INFO  - database [default] connected at jdbc:postgresql://localhost:5432/portaljob
DEBUG - select relname from pg_class where relkind='S'
INFO  - Application started (Dev)
[info] Compiling 2 Java sources to E:\Software\intellij_worksapce\PortalJob\target\scala-2.10\classes...
[info] Compiling 2 Java sources to E:\Software\intellij_worksapce\PortalJob\target\scala-2.10\classes...

--- (RELOAD) ---

INFO  - Shutting down connection pool...
DEBUG - Terminating pool watch thread
INFO  - Connection pool has been shutdown.
DEBUG - Connection pool has been shut down
INFO  - datasource [jdbc:postgresql://localhost:5432/portaljob] bound to JNDI as DefaultDS
DEBUG - JDBC URL = jdbc:postgresql://localhost:5432/portaljob, Username = postgres, partitions = 1, max (per partition) = 30, min (per partition) = 5, idle max age = 10 min, idle test period = 1 min, strategy = DEFAULT
INFO  - database [default] connected at jdbc:postgresql://localhost:5432/portaljob
DEBUG - select relname from pg_class where relkind='S'
INFO  - Application started (Dev)
[info] Compiling 2 Java sources to E:\Software\intellij_worksapce\PortalJob\target\scala-2.10\classes...
[info] Compiling 2 Java sources to E:\Software\intellij_worksapce\PortalJob\target\scala-2.10\classes...

和上面显示在我的控制台进行到六点分

and above is shown in my console for until six minutes

这是正常的?
可能是什么的原因,我怎么能解决这个问题?

Is it normal? What could be the reason for that and how can I solve this??

请注意:我在本地主机的工作

Note:I am working in localhost

感谢

推荐答案

我是通过菜单&gt运行我的应用程序;润>运行/调试所以我删除从配置一步,现在它以更短的时间来运行。

I was running my application through Menu > Run > Run/Debug so I removed Make step from the configuration and now its taking less time to run .

由于@biesior

Thanks to @biesior

这篇关于为什么在玩的IntelliJ框架项目花费过多时间在浏览器中加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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