作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在使用我的笔记本电脑(win10),我可以毫无问题地启动我的 Grails 应用程序。
我试图也能在我的桌面(win10)上工作,但 Grails 无法启动我的应用程序。
我安装了相同的 Java 版本 (1.8) 和相同的 Grails 版本 (2.5.1),并使用 Git 克隆了我的应用程序的源代码。
我运行命令没有问题:
grails clean-all
grails refresh-dependencies
| Dependencies refreshed.
| Compiling 10 source files
| Compiling 241 source files
Note: C:\Users\xxx\workspace\customer-portal\target\work\plugins\scaffolding-2.1.2\src\java\org\codehaus\groovy\grails\scaffolding\AbstractGrailsTemplateGenerator.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
| Compiling 32 source files
| Compiling 32 source files.....
2018-05-16/14:35:23.737 [main] INFO webxml.WebxmlGrailsPlugin - Loading default config file: class DefaultWebXmlConfig
2018-05-16/14:35:23.764 [main] WARN webxml.WebxmlGrailsPlugin - Did not find application config file: WebXmlConfig
2018-05-16/14:35:24.472 [main] INFO webxml.WebxmlGrailsPlugin - Loading default config file: class DefaultWebXmlConfig
| Running Grails application
2018-05-16/14:35:29.298 [localhost-startStop-1] INFO [localhost].[/customer_portal] - Initializing Spring root WebApplicationContextConfiguring Spring Security Core ...
... finished configuring Spring Security Core
2018-05-16/14:35:39.015 [localhost-startStop-1] INFO cache.CacheBeanPostProcessor - postProcessBeanDefinitionRegistry start
2018-05-16/14:35:39.028 [localhost-startStop-1] INFO cache.CacheBeanPostProcessor - postProcessBeanFactory
最佳答案
谢谢@jorge-aguilera-gonzalez 的链接。我将所有内容都设置在 配置.groovy “调试”。
我可以看到它在连接到数据库时挂起。我必须允许桌面 IP 连接到数据库(授予权限)...
现在它正在工作!
关于maven - Grails 无法启动,卡在 postProcessBeanFactory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50363296/
我正在使用我的笔记本电脑(win10),我可以毫无问题地启动我的 Grails 应用程序。 我试图也能在我的桌面(win10)上工作,但 Grails 无法启动我的应用程序。 我安装了相同的 Java
我有一个使用 spring-security-oauth-2.0.0-M2 构建的应用程序,现在我正在尝试将其升级到 2.0.0.RC1。示例配置已发生显着变化,现在使用 java 配置。 我已将配置
Spring constructor injection of SLF4J logger - how to get injection target class? 我想在 Spring boot 中实
我是一名优秀的程序员,十分优秀!