i have new project spring cloud(use eureka+feign show interfaces). have old project use springmvc without spring boot , spring cloud. these projects not want use spring boot or spring cloud... question how can make old project use new interfaces eureka , feign. when import dependency pom.xml this:
<dependencymanagement> <dependencies> <dependency> <groupid>org.springframework.cloud</groupid> <artifactid>spring-cloud-starter-parent</artifactid> <version>brixton.m4</version> <scope>import</scope> <type>pom</type> </dependency> <dependency> <groupid>org.springframework.boot</groupid> <artifactid>spring-boot-starter-parent</artifactid> <version>1.3.0.m2</version> <scope>import</scope> <type>pom</type> </dependency> </dependencies> </dependencymanagement>
the project doesn't start error:
javax.servlet.servletexception: servlet.init() servlet dispatcher threw exception org.apache.catalina.authenticator.authenticatorbase.invoke(authenticatorbase.java:502) org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:79) org.apache.catalina.valves.abstractaccesslogvalve.invoke(abstractaccesslogvalve.java:616) org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:518) org.apache.coyote.http11.abstracthttp11processor.process(abstracthttp11processor.java:1091) org.apache.coyote.abstractprotocol$abstractconnectionhandler.process(abstractprotocol.java:673) org.apache.tomcat.util.net.nioendpoint$socketprocessor.dorun(nioendpoint.java:1500) org.apache.tomcat.util.net.nioendpoint$socketprocessor.run(nioendpoint.java:1456) java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142) java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617) org.apache.tomcat.util.threads.taskthread$wrappingrunnable.run(taskthread.java:61) java.lang.thread.run(thread.java:745) root cause java.lang.nosuchmethoderror: org.springframework.util.reflectionutils.clearcache()v org.springframework.context.support.abstractapplicationcontext.resetcommoncaches(abstractapplicationcontext.java:879) org.springframework.context.support.abstractapplicationcontext.refresh(abstractapplicationcontext.java:563) org.springframework.web.servlet.frameworkservlet.configureandrefreshwebapplicationcontext(frameworkservlet.java:668) org.springframework.web.servlet.frameworkservlet.createwebapplicationcontext(frameworkservlet.java:634) org.springframework.web.servlet.frameworkservlet.createwebapplicationcontext(frameworkservlet.java:682) org.springframework.web.servlet.frameworkservlet.initwebapplicationcontext(frameworkservlet.java:553) org.springframework.web.servlet.frameworkservlet.initservletbean(frameworkservlet.java:494) org.springframework.web.servlet.httpservletbean.init(httpservletbean.java:136) javax.servlet.genericservlet.init(genericservlet.java:158) org.apache.catalina.authenticator.authenticatorbase.invoke(authenticatorbase.java:502) org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:79) org.apache.catalina.valves.abstractaccesslogvalve.invoke(abstractaccesslogvalve.java:616) org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:518) org.apache.coyote.http11.abstracthttp11processor.process(abstracthttp11processor.java:1091) org.apache.coyote.abstractprotocol$abstractconnectionhandler.process(abstractprotocol.java:673) org.apache.tomcat.util.net.nioendpoint$socketprocessor.dorun(nioendpoint.java:1500) org.apache.tomcat.util.net.nioendpoint$socketprocessor.run(nioendpoint.java:1456) java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142) java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617) org.apache.tomcat.util.threads.taskthread$wrappingrunnable.run(taskthread.java:61) java.lang.thread.run(thread.java:745)
i have no idea... please me...
Comments
Post a Comment