spring - java.lang.NoSuchMethodError: org.springframework.core.io.ResourceEditor.<init>( -
i newbie springs 3.0.and started small app show firstname,lastname , other properties jsp in springs. still able show message coming controller when trying properties mentioned above, facing exception regarding load() exception of 'spring-servlet.xml' . still got suggestion check whether resourceeditor() present in springs-core jar file.but present.i have given exception trace reference. please suggest me option resolve issue.
severe: standardwrapper.throwable java.lang.nosuchmethoderror: org.springframework.core.io.resourceeditor.<init>(lorg/springframework/core/io/resourceloader;lorg/springframework/core/env/propertyresolver;)v @ org.springframework.web.servlet.httpservletbean.init(httpservletbean.java:123) @ javax.servlet.genericservlet.init(genericservlet.java:212) @ org.apache.catalina.core.standardwrapper.loadservlet(standardwrapper.java:1206) @ org.apache.catalina.core.standardwrapper.load(standardwrapper.java:1026) @ org.apache.catalina.core.standardcontext.loadonstartup(standardcontext.java:4421) @ org.apache.catalina.core.standardcontext.start(standardcontext.java:4734) @ org.apache.catalina.core.containerbase.start(containerbase.java:1057) @ org.apache.catalina.core.standardhost.start(standardhost.java:840) @ org.apache.catalina.core.containerbase.start(containerbase.java:1057) @ org.apache.catalina.core.standardengine.start(standardengine.java:463) @ org.apache.catalina.core.standardservice.start(standardservice.java:525) @ org.apache.catalina.core.standardserver.start(standardserver.java:754) @ org.apache.catalina.startup.catalina.start(catalina.java:595) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(unknown source) @ sun.reflect.delegatingmethodaccessorimpl.invoke(unknown source) @ java.lang.reflect.method.invoke(unknown source) @ org.apache.catalina.startup.bootstrap.start(bootstrap.java:289) @ org.apache.catalina.startup.bootstrap.main(bootstrap.java:414) aug 09, 2013 10:00:18 org.apache.catalina.core.standardcontext loadonstartup severe: servlet /springmvc_multi_row threw load() exception java.lang.nosuchmethoderror: org.springframework.core.io.resourceeditor.<init>(lorg/springframework/core/io/resourceloader;lorg/springframework/core/env/propertyresolver;)v @ org.springframework.web.servlet.httpservletbean.init(httpservletbean.java:123)
any time kinds of method not found exceptions inside frameworks (especially mature ones) first thing conflicting dependencies. 2 different libraries include different versions of same dependency which, in experience, commonly causes type of issue.
Comments
Post a Comment