为什么在 intellij 中玩框架项目需要花费太多时间在浏览器中加载
why play framework project in intellij taking too much time to load in browser
我的 Intellij 中有一个播放框架项目 IDE 当我在浏览器中重新加载页面时 它需要 6 分钟才能在浏览器中完全重新加载页面,在我的控制台中它启动服务器并停止它等等六分钟
我的控制台输出
--- (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...
以上内容会在我的控制台中显示六分钟
正常吗?
这可能是什么原因,我该如何解决?
注意:我在本地工作
谢谢
我 运行 通过 Menu > Run > Run/Debug
设置我的应用程序,所以我从配置中删除了 Make
步骤,现在 运行 花费的时间更少。
感谢@biesior
我的 Intellij 中有一个播放框架项目 IDE 当我在浏览器中重新加载页面时 它需要 6 分钟才能在浏览器中完全重新加载页面,在我的控制台中它启动服务器并停止它等等六分钟
我的控制台输出
--- (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...
以上内容会在我的控制台中显示六分钟
正常吗? 这可能是什么原因,我该如何解决?
注意:我在本地工作
谢谢
我 运行 通过 Menu > Run > Run/Debug
设置我的应用程序,所以我从配置中删除了 Make
步骤,现在 运行 花费的时间更少。
感谢@biesior