Hi
I am trying to customize spring batch admin and following the steps listed http://static.springsource.org/sprin...g-started.html have connected to my backend postgres database which is hosting my batch job data.
However i am having trouble getting the view to work . All my spring dependencies in the pom are set to 3.0.5 release and using the specific dependency as in the spring-batch-admin-manager (template) project is as
Code:<dependency> <groupId>org.freemarker</groupId> <artifactId>freemarker</artifactId> </dependency>Code:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'annotationMappingMetaData': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping org.springframework.batch.admin.web.util.AnnotationMappingMetaData.mapping; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultAnnotationHandlerMapping' defined in URL [jar:file:/C:/gwt/sts/tc-server-developer-2.1.1.RELEASE/spring-insight-instance/wtpwebapps/spring-batch-admin-example/WEB-INF/lib/spring-batch-admin-resources-1.0.0.M1.jar!/META-INF/servlet/freemarker-servlet.xml]: Initialization of bean failed; nested exception is java.lang.NoSuchFieldError: USER_DECLARED_METHODS at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:283) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1055) at ... Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping org.springframework.batch.admin.web.util.AnnotationMappingMetaData.mapping; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultAnnotationHandlerMapping' defined in URL [jar:file:/C:/gwt/sts/tc-server-developer-2.1.1.RELEASE/spring-insight-instance/wtpwebapps/spring-batch-admin-example/WEB-INF/lib/spring-batch-admin-resources-1.0.0.M1.jar!/META-INF/servlet/freemarker-servlet.xml]: Initialization of bean failed; nested exception is java.lang.NoSuchFieldError: USER_DECLARED_METHODS at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:504) at .... Caused by: java.lang.NoSuchFieldError: USER_DECLARED_METHODS at org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping.determineUrlsForHandlerMethods(DefaultAnnotationHandlerMapping.java:191) at


Reply With Quote
..but i have few questions here..
