java grails mave_grails项目使用maven启动时报错。

报错信息如下:

Connected to the target VM, address: '127.0.0.1:50098', transport: 'socket'

Error |

2015-12-16 09:30:57,828 [localhost-startStop-1] ERROR context.ContextLoader - Context initialization failed

Message: tried to access method org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingletonMutex()Ljava/lang/Object; from class org.springframework.context.event.AbstractApplicationEventMulticaster

Line | Method

->> 84 | setBeanFactory in org.springframework.context.event.AbstractApplicationEventMulticaster

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

| 60 | in org.springframework.context.event.SimpleApplicationEventMulticaster

| 667 | initApplicationEventMulticaster . . . . in org.springframework.context.support.AbstractApplicationContext

| 471 | refresh in ''

| 403 | configureAndRefreshWebApplicationContext in org.springframework.web.context.ContextLoader

| 306 | initWebApplicationContext in ''

| 106 | contextInitialized . . . . . . . . . . . in org.springframework.web.context.ContextLoaderListener

| 4973 | listenerStart in org.apache.catalina.core.StandardContext

| 5467 | startInternal . . . . . . . . . . . . . in ''

| 150 | start in org.apache.catalina.util.LifecycleBase

| 1559 | call . . . . . . . . . . . . . . . . . . in org.apache.catalina.core.ContainerBase$StartChild

| 1549 | call in ''

| 262 | run . . . . . . . . . . . . . . . . . . in java.util.concurrent.FutureTask

| 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor

| 615 | run . . . . . . . . . . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker

^ 745 | run in java.lang.Thread

Error |

2015-12-16 09:30:57,982 [localhost-startStop-1] ERROR [localhost].[/carhotel] - Exception sending context initialized event to listener instance of class org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener

Message: tried to access method org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingletonMutex()Ljava/lang/Object; from class org.springframework.context.event.AbstractApplicationEventMulticaster

Line | Method

->> 84 | setBeanFactory in org.springframework.context.event.AbstractApplicationEventMulticaster

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

| 60 | in org.springframework.context.event.SimpleApplicationEventMulticaster

| 667 | initApplicationEventMulticaster . . . . in org.springframework.context.support.AbstractApplicationContext

| 471 | refresh in ''

| 403 | configureAndRefreshWebApplicationContext in org.springframework.web.context.ContextLoader

| 306 | initWebApplicationContext in ''

| 106 | contextInitialized . . . . . . . . . . . in org.springframework.web.context.ContextLoaderListener

| 4973 | listenerStart in org.apache.catalina.core.StandardContext

| 5467 | startInternal . . . . . . . . . . . . . in ''

| 150 | start in org.apache.catalina.util.LifecycleBase

| 1559 | call . . . . . . . . . . . . . . . . . . in org.apache.catalina.core.ContainerBase$StartChild

| 1549 | call in ''

| 262 | run . . . . . . . . . . . . . . . . . . in java.util.concurrent.FutureTask

| 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor

| 615 | run . . . . . . . . . . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker

^ 745 | run in java.lang.Thread

Error |

2015-12-16 09:30:57,991 [localhost-startStop-1] ERROR core.StandardContext - Error listenerStart

Error |

2015-12-16 09:30:57,995 [localhost-startStop-1] ERROR core.StandardContext - Context [/myStore] startup failed due to previous errors

我是老项目集成maven,用的Grails自带的maven,在BuildingConfig.groovy中配置的,但是在项目启动时报错。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值