Bonjour,
j'ai une application web qui doit faire quelque chose disons tous les 1ers du mois.
C'est une application GWT divisée en 4 projets, et j'ai ajouté les jar suivants avec Maven :
opensymphony quartz 1.6.3
commons-collections
Comme j'utilise déjà Spring, je me suis dit que j'avais qu'à utiliser Quartz (un tuto http://blogperso.univ-rennes1.fr/yoa...-Spring-Quartz).
J'ai donc ajouter ce qui est écrit dans le tuto dans mon application-context.xml.
A la compilation, aucun problème, mais à l’exécution, j'ai ça :
[ERROR] les propriétés de l'application n'ont pas pu être chargées - exception: StatusCodeException
En détail :
1 2 3 4 5 6
| com.google.gwt.user.client.rpc.StatusCodeException:
Error 500 Error creating bean with name 'schedulerFactory' defined in class path resource [application-context.xml]: Cannot resolve reference to bean 'cronTrigger' while setting bean property 'triggers' with key [0];
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cronTrigger' defined in class path resource [application-context.xml]: Error setting property values;
nested exception is org.springframework.beans.PropertyBatchUpdateException;
nested PropertyAccessExceptions (1) are: PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'cronExpression' threw exception;
nested exception is java.text.ParseException: Unexpected end of expression. |
Où se trouve l'erreur ?
Partager