当我运行grails时,它会在“完成spring security config”之后挂起。我在Config.groovy中将“error”更改为“all”,并发现它挂起:
2016-04-08 18:13:45,625 [localhost-startStop-1] DEBUG spring.OptimizedAutowireCapableBeanFactory - Finished creating instance of bean 'amq:transportConnector#4b67ee9b'
2016-04-08 18:13:45,627 [localhost-startStop-1] DEBUG annotation.CommonAnnotationBeanPostProcessor - Invoking init method on bean 'org.apache.activemq.xbean.XBeanBrokerService#0': public void org.apache.activemq.broker.BrokerService.autoStart() throws java.lang.Exception
使用以下依赖项:
dependencies {
// specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes e.g.
compile 'org.apache.activemq:activemq-core:5.7.0'
compile 'org.apache.xbean:xbean-spring:3.5'
runtime("org.apache.camel:camel-netty:2.9.4")
........
..............
}
和插件:
compile ":jms:1.3"
compile "org.grails.plugins:spring-websocket:1.0.0"
........etc.........
尝试了各种解决方案,但没有奏效。