Skip to content

Instantly share code, notes, and snippets.

@sergiomichels
Created January 24, 2013 18:41
Show Gist options
  • Select an option

  • Save sergiomichels/4626265 to your computer and use it in GitHub Desktop.

Select an option

Save sergiomichels/4626265 to your computer and use it in GitHub Desktop.
Trying to run spok tests
| Packaging Grails application.....
| Packaging Grails application.....
Configuring Spring Security Core ...
... finished configuring Spring Security Core
======================================================================
Application: insoft-security
----------------------------
Environment: TEST
Database configuration:
Hibernate DDL mode:
URL: jdbc:oracle:thin:@192.168.1.2:1521:DESENV01
| Packaging Grails application.....
| Packaging Grails application....
| Packaging Grails application....
| Running Grails application
Configuring Spring Security Core ...
... finished configuring Spring Security Core
| Error 2013-01-24 16:41:00,865 [pool-9-thread-1] ERROR [localhost].[/insoft-security] - Exception sending context initialized event to listener instance of class org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener
Message: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exce
ption is org.hibernate.MappingException: Could not determine type for: br.com.insoft4.core.types.SimNao, at table: cargos_pontos, for columns: [org.hibernate.mapping.Column(controla_ponto)]
Line | Method
->> 303 | innerRun in java.util.concurrent.FutureTask$Sync
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 138 | run in java.util.concurrent.FutureTask
| 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
| 908 | run in ''
^ 662 | run . . in java.lang.Thread
Caused by BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.MappingException: Could not determine type for: br.com.insoft4.core.types.SimNao, at table: cargos_pontos, for columns: [org.h
ibernate.mapping.Column(controla_ponto)]
->> 303 | innerRun in java.util.concurrent.FutureTask$Sync
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 138 | run in java.util.concurrent.FutureTask
| 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
| 908 | run in ''
^ 662 | run . . in java.lang.Thread
Caused by BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.MappingException: Could not determine type for: br.com.insoft4.core.types.SimNao, at table: cargos_pontos, for columns: [org.hibernate.mapping.Column(controla_ponto)]
->> 303 | innerRun in java.util.concurrent.FutureTask$Sync
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 138 | run in java.util.concurrent.FutureTask
| 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
| 908 | run in ''
^ 662 | run . . in java.lang.Thread
Caused by MappingException: Could not determine type for: br.com.insoft4.core.types.SimNao, at table: cargos_pontos, for columns: [org.hibernate.mapping.Column(controla_ponto)]
->> 303 | innerRun in java.util.concurrent.FutureTask$Sync
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 138 | run in java.util.concurrent.FutureTask
| 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
| 908 | run in ''
^ 662 | run . . in java.lang.Thread
| Error 2013-01-24 16:41:00,910 [pool-9-thread-1] ERROR core.StandardContext - Error listenerStart
| Error 2013-01-24 16:41:00,913 [pool-9-thread-1] ERROR core.StandardContext - Context [/insoft-security] startup failed due to previous errors
| Server running. Browse to http://localhost:8080/insoft-security
| Tests FAILED - view reports in target\test-reports
| Error Error executing script TestApp: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grailsTopicExecutor': Instantiation of bean failed; nested exception is java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext (Use --stacktrace to see the full trace)
J:\Desenvolvimento\Java\Projetos\grails-plugins\insoft-security>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment