1

I upgrade project from 1.3.7 to 2.2.1 in my GGTS.When run project I got the error following:

| Error 2013-07-26 13:28:09,778 [localhost-startStop-1] ERROR context.ContextLoader  - Context initialization failed
Message: org.springframework.context.support.AbstractRefreshableConfigApplicationContext.getEnvironment()Lorg/springframework/core/env/ConfigurableEnvironment;
    Line | Method
->>  334 | innerRun  in java.util.concurrent.FutureTask$Sync
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|    166 | run       in java.util.concurrent.FutureTask
|   1110 | runWorker in java.util.concurrent.ThreadPoolExecutor
|    603 | run       in java.util.concurrent.ThreadPoolExecutor$Worker
^    679 | run . . . in java.lang.Thread
| Error 2013-07-26 13:28:09,819 [localhost-startStop-1] ERROR context.GrailsContextLoader  - Error initializing the application: org.springframework.context.support.AbstractRefreshableConfigApplicationContext.getEnvironment()Lorg/springframework/core/env/ConfigurableEnvironment;
Message: org.springframework.context.support.AbstractRefreshableConfigApplicationContext.getEnvironment()Lorg/springframework/core/env/ConfigurableEnvironment;
    Line | Method
->>  334 | innerRun  in java.util.concurrent.FutureTask$Sync
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|    166 | run       in java.util.concurrent.FutureTask
|   1110 | runWorker in java.util.concurrent.ThreadPoolExecutor
|    603 | run       in java.util.concurrent.ThreadPoolExecutor$Worker
^    679 | run . . . in java.lang.Thread
Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Visme
  • 983
  • 8
  • 29

2 Answers2

1

I had a similiar problem in GGTS after having upgraded a project. Try to launch the project using a command line:

grails run-app

If it worked then you have to upgrade GGTS itself to the last version.

Benoit Wickramarachi
  • 6,096
  • 5
  • 36
  • 46
  • when i run app from command line , i am getting this Error Error loading plugin manager: java.lang.NoClassDefFoundError: org/springframework/core/convert/support/PropertyTypeDescriptor – Visme Jul 26 '13 at 08:35
  • I solved this error. Again the ERROR context.ContextLoader - Context initialization failed came when run grails through command. – Visme Jul 26 '13 at 12:16
0

For me it was the open jdk. i installed oracle jdk and jre then i could run the application without any problem

LynAs
  • 6,407
  • 14
  • 48
  • 83