Un super cadeau !
Plus d'infos sur http://java.developpez.com/evenements/devoxx2014/quizz/
Un petit blog principalement sur l'univers du développement pour partager aussi bien des astuces pratiques utiles au quotidien mais également réfléchir sur les évolutions et perspectives de l'informatique.
grails generate-all User
| No domain class found for name User. Please try again and enter a valid domain
class name
| Error 2013-06-30 13:51:40,907 [Thread-10] ERROR plugins.DefaultGrailsPlugin -
Error configuration scaffolding: Error creating bean with name 'instanceControl
lersApi': Singleton bean creation not allowed while the singletons of this facto
ry are in destruction (Do not request a bean from a BeanFactory in a destroy met
hod implementation!)
Message: Error creating bean with name 'instanceControllersApi': Singleton bean
creation not allowed while the singletons of this factory are in destruction (Do
not request a bean from a BeanFactory in a destroy method implementation!)
Line | Method
->> 722 | run in java.lang.Thread
grails generate-all racetrack.UserLa classe de domaine User se trouve dans un répertoire "racetrack" : $GRAILS_APPdomain/racetrack/User.java
class Person {
Date dateCreated
Date lastUpdated
}
Il est possible de désactiver cette fonctionnalité de la manière suivante :
class Person {
Date dateCreated
Date lastUpdated
static mapping = {
autoTimestamp false
}
}
cd $PATH_TO_MY_GRAILS_APPLICATION
grails install-plugin crash
cd $JAVA_HOME/bin
jps
cd $CRASH_HOME/bin
crash.sh PID