java.lang.NoSuchFieldError: STANDARD_NUMBER_TYPES 10C

springMVC项目出现了这个错误。。真心不知道怎么搞。。求大佬。。

 严重: Exception sending request initialized lifecycle event to listener instance of class [org.springframework.web.context.request.RequestContextListener]
java.lang.NoSuchFieldError: STANDARD_NUMBER_TYPES
    at org.springframework.web.context.request.ServletRequestAttributes.<clinit>(ServletRequestAttributes.java:55)
    at org.springframework.web.context.request.RequestContextListener.requestInitialized(RequestContextListener.java:59)
    at org.apache.catalina.core.StandardContext.fireRequestInitEvent(StandardContext.java:5826)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
    at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:625)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
    at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:498)
    at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
    at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:796)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1372)
    at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:745)

2个回答

把springMVC配置贴出来,可能有问题

STANDARD_NUMBER_TYPES 这个变量没有定义
at org.springframework.web.context.request.ServletRequestAttributes.(ServletRequestAttributes.java:55 这个类的第55行看看

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问