Hi,
I'm trying to add a new menu to the existing menu , according to the instruction in this link : http://static.springsource.org/sprin...ce/design.html
I need to override on : META-INF/spring/batch/servlet/override/*.xml
Here the content of my xml :
but I got exception like couldn't instantiate this bean :Code:<bean id="fabricationMenu" class="org.springframework.batch.admin.web.resources.BaseMenu"> <property name="url" value="/fabricationJob.html"/> <property name="label" value="Fabrication Job" /> </bean>
Anybody can shine me a light ?Code:Caused by: java.lang.NoSuchMethodException: org.springframework.batch.admin.web.resources.BaseMenu.<init>() at java.lang.Class.getConstructor0(Class.java:2706) at eption: org.springframework.batch.admin.web.resources.BaseMenu.<init>() at java.lang.Class.getConstructor0(Class.java:2706) at java.lang.Class.getDeclaredConstructor(Class.java:1985) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:65)
Thanks alot before


Reply With Quote