Tomcat启动报错 com.amazonservices.mws.orders.MarketplaceWebServiceOrdersException: The CreatedBefo
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Tomcat启动报错 com.amazonservices.mws.orders.MarketplaceWebServiceOrdersException: The CreatedBefo相关的知识,希望对你有一定的参考价值。
com.amazonservices.mws.orders.MarketplaceWebServiceOrdersException: The CreatedBefore date or the LastUpdatedBefore date is later than two minutes before the time that your request was submitted.
at com.amazonservices.mws.orders.MarketplaceWebServiceOrdersClient.invoke(MarketplaceWebServiceOrdersClient.java:486)
at com.amazonservices.mws.orders.MarketplaceWebServiceOrdersClient.listOrders(MarketplaceWebServiceOrdersClient.java:259)
at com.b2cunion.client.imp.AMazonClient.getOrderIds(AMazonClient.java:96)
at com.b2cunion.bll.OrderTransform.autoGetOrders(OrderTransform.java:417)
at com.b2cunion.bll.OrderTransform.Transform(OrderTransform.java:97)
at com.b2cunion.task.OrderHandlerTask.run(OrderHandlerTask.java:32)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Caused by: com.amazonservices.mws.orders.MarketplaceWebServiceOrdersException: The CreatedBefore date or the LastUpdatedBefore date is later than two minutes before the time that your request was submitted.
at com.amazonservices.mws.orders.MarketplaceWebServiceOrdersClient.invoke(MarketplaceWebServiceOrdersClient.java:464)
... 7 more
tomcat启动报错,求高手指点
具体错误如下:
严重: Error configuring application listener of class listeners.ContextListener
java.lang.ClassNotFoundException: listeners.ContextListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4078)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Error configuring application listener of class listeners.SessionListener
java.lang.ClassNotFoundException: listeners.SessionListener
项目编写后,可以发布,可以运行,但是有错总是很不爽,求高手指点
不知你是不是使用的是Sping 的监听
sping的监听配置是:org.springframework.web.context.ContextLoaderListener
如果是你自己写的监听器,把你的监听加载在启动项是检查下包名,路径是否正常.
good luck! 参考技术A 监听有点问题,在系统服务中重启监听的服务 参考技术B 给你看看我BLOG里的关于这方面的东西。重新安装试试吧。
http://hi.baidu.com/xiaolingege/blog/item/1bca1acfb314450993457e48.html
应该问题不大,有什么问题,请来我们团队分享你的困惑吧。
以上是关于Tomcat启动报错 com.amazonservices.mws.orders.MarketplaceWebServiceOrdersException: The CreatedBefo的主要内容,如果未能解决你的问题,请参考以下文章