请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

无法获取下拉菜单内容

回答1 浏览128 2020-10-09 13:48:53

老师! 我的程序加载不出来 下拉菜单的内容 我检查了好几遍 也清除了缓存 还是显示404 而且第一个错误listmainpageinfo 这是个什么东西啊? 我实在是找不到问题出在哪儿 请指教!
谢谢!图片描述图片描述

图片描述

10月 09, 2020 3:50:33 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version name: Apache Tomcat/8.5.57
10月 09, 2020 3:50:33 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built: Jun 30 2020 21:49:10 UTC
10月 09, 2020 3:50:33 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version number: 8.5.57.0
10月 09, 2020 3:50:33 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name: Mac OS X
10月 09, 2020 3:50:33 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version: 10.15.6
10月 09, 2020 3:50:33 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture: x86_64
10月 09, 2020 3:50:33 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home: /Library/Java/JavaVirtualMachines/jdk-14.0.2.jdk/Contents/Home
10月 09, 2020 3:50:33 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version: 14.0.2+12-46
10月 09, 2020 3:50:33 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Vendor: Oracle Corporation
10月 09, 2020 3:50:33 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE: /Users/dylan/eclipse-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0
10月 09, 2020 3:50:33 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME: /Users/dylan/Documents/Tomcat/apache-tomcat-8.5.57
10月 09, 2020 3:50:33 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.base=/Users/dylan/eclipse-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0
10月 09, 2020 3:50:33 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.home=/Users/dylan/Documents/Tomcat/apache-tomcat-8.5.57
10月 09, 2020 3:50:33 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dwtp.deploy=/Users/dylan/eclipse-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps
10月 09, 2020 3:50:33 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dfile.encoding=UTF-8
10月 09, 2020 3:50:33 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows using OpenSSL was not found on the java.library.path: [/Users/dylan/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.]
10月 09, 2020 3:50:33 下午 org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler [“http-nio-8080”]
10月 09, 2020 3:50:33 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
10月 09, 2020 3:50:33 下午 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 659 ms
10月 09, 2020 3:50:33 下午 org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Catalina]
10月 09, 2020 3:50:33 下午 org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.5.57
10月 09, 2020 3:50:35 下午 org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
10月 09, 2020 3:50:35 下午 org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
10月 09, 2020 3:50:36 下午 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler [“http-nio-8080”]
10月 09, 2020 3:50:36 下午 org.apache.catalina.startup.Catalina start
INFO: Server startup in 2077 ms
10月 09, 2020 3:50:39 下午 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'spring-dispatcher’
10月 09, 2020 3:50:39 下午 org.springframework.web.servlet.DispatcherServlet initServletBean
INFO: FrameworkServlet ‘spring-dispatcher’: initialization started
10月 09, 2020 3:50:39 下午 org.springframework.web.context.support.XmlWebApplicationContext prepareRefresh
INFO: Refreshing WebApplicationContext for namespace ‘spring-dispatcher-servlet’: startup date [Fri Oct 09 15:50:39 ACDT 2020]; root of context hierarchy
10月 09, 2020 3:50:39 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [/Users/dylan/eclipse-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/o2o/WEB-INF/classes/spring/spring-dao.xml]
10月 09, 2020 3:50:39 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [/Users/dylan/eclipse-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/o2o/WEB-INF/classes/spring/spring-service.xml]
10月 09, 2020 3:50:39 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [/Users/dylan/eclipse-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/o2o/WEB-INF/classes/spring/spring-web.xml]
10月 09, 2020 3:50:40 下午 com.mchange.v2.log.MLog
INFO: MLog clients using java 1.4+ standard logging.
10月 09, 2020 3:50:40 下午 com.mchange.v2.c3p0.C3P0Registry banner
INFO: Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.ibatis.reflection.Reflector (file:/Users/dylan/eclipse-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/o2o/WEB-INF/lib/mybatis-3.4.2.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.apache.ibatis.reflection.Reflector
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
10月 09, 2020 3:50:40 下午 org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped “{[/admin/listarea],methods=[GET]}” onto private java.util.Map<java.lang.String, java.lang.Object> com.Dylan.o2o.web.admin.AreaController.listArea()
10月 09, 2020 3:50:40 下午 org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped “{[/shopadmin/shopoperation],methods=[GET]}” onto public java.lang.String com.Dylan.o2o.web.shopadmin.ShopAdminController.shopOperation()
10月 09, 2020 3:50:40 下午 org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped “{[/shopadim/getshopinitinfo],methods=[GET]}” onto private java.util.Map<java.lang.String, java.lang.Object> com.Dylan.o2o.web.shopadmin.ShopManagementController.getShopInitInfo()
10月 09, 2020 3:50:40 下午 org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped “{[/shopadim/registerShop],methods=[POST]}” onto private java.util.Map<java.lang.String, java.lang.Object> com.Dylan.o2o.web.shopadmin.ShopManagementController.registerShop(javax.servlet.http.HttpServletRequest)
10月 09, 2020 3:50:41 下午 org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter initControllerAdviceCache
INFO: Looking for @ControllerAdvice: WebApplicationContext for namespace ‘spring-dispatcher-servlet’: startup date [Fri Oct 09 15:50:39 ACDT 2020]; root of context hierarchy
10月 09, 2020 3:50:41 下午 org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter initControllerAdviceCache
INFO: Looking for @ControllerAdvice: WebApplicationContext for namespace ‘spring-dispatcher-servlet’: startup date [Fri Oct 09 15:50:39 ACDT 2020]; root of context hierarchy
10月 09, 2020 3:50:41 下午 org.springframework.web.servlet.handler.SimpleUrlHandlerMapping registerHandler
INFO: Mapped URL path [/resources/] onto handler 'org.springframework.web.servlet.resource.ResourceHttpRequestHandler#0’
10月 09, 2020 3:50:41 下午 org.springframework.web.servlet.handler.SimpleUrlHandlerMapping registerHandler
INFO: Mapped URL path [/
] onto handler 'org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler#0’
10月 09, 2020 3:50:41 下午 org.springframework.web.servlet.DispatcherServlet initServletBean
INFO: FrameworkServlet ‘spring-dispatcher’: initialization completed in 2496 ms
10月 09, 2020 4:01:11 下午 org.apache.catalina.core.StandardContext reload
INFO: Reloading Context with name [/o2o] has started
10月 09, 2020 4:01:11 下午 org.apache.catalina.core.ApplicationContext log
INFO: Destroying Spring FrameworkServlet 'spring-dispatcher’
10月 09, 2020 4:01:11 下午 org.springframework.web.context.support.XmlWebApplicationContext doClose
INFO: Closing WebApplicationContext for namespace ‘spring-dispatcher-servlet’: startup date [Fri Oct 09 15:50:39 ACDT 2020]; root of context hierarchy
10月 09, 2020 4:01:12 下午 org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
10月 09, 2020 4:01:12 下午 org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
10月 09, 2020 4:01:12 下午 org.apache.catalina.core.StandardContext reload
INFO: Reloading Context with name [/o2o] is completed
10月 09, 2020 4:04:39 下午 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'spring-dispatcher’
10月 09, 2020 4:04:39 下午 org.springframework.web.servlet.DispatcherServlet initServletBean
INFO: FrameworkServlet ‘spring-dispatcher’: initialization started
10月 09, 2020 4:04:39 下午 org.springframework.web.context.support.XmlWebApplicationContext prepareRefresh
INFO: Refreshing WebApplicationContext for namespace ‘spring-dispatcher-servlet’: startup date [Fri Oct 09 16:04:39 ACDT 2020]; root of context hierarchy
10月 09, 2020 4:04:39 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [/Users/dylan/eclipse-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/o2o/WEB-INF/classes/spring/spring-dao.xml]
10月 09, 2020 4:04:39 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [/Users/dylan/eclipse-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/o2o/WEB-INF/classes/spring/spring-service.xml]
10月 09, 2020 4:04:39 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [/Users/dylan/eclipse-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/o2o/WEB-INF/classes/spring/spring-web.xml]
10月 09, 2020 4:04:39 下午 com.mchange.v2.log.MLog
INFO: MLog clients using java 1.4+ standard logging.
10月 09, 2020 4:04:40 下午 com.mchange.v2.c3p0.C3P0Registry banner
INFO: Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
10月 09, 2020 4:04:40 下午 com.mchange.v2.c3p0.management.ActiveManagementCoordinator attemptManageC3P0Registry
WARNING: A C3P0Registry mbean is already registered. This probably means that an application using c3p0 was undeployed, but not all PooledDataSources were closed prior to undeployment. This may lead to resource leaks over time. Please take care to close all PooledDataSources.
10月 09, 2020 4:04:40 下午 org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped “{[/admin/listarea],methods=[GET]}” onto private java.util.Map<java.lang.String, java.lang.Object> com.Dylan.o2o.web.admin.AreaController.listArea()
10月 09, 2020 4:04:40 下午 org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped “{[/shopadmin/shopoperation],methods=[GET]}” onto public java.lang.String com.Dylan.o2o.web.shopadmin.ShopAdminController.shopOperation()
10月 09, 2020 4:04:40 下午 org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped “{[/shopadim/getshopinitinfo],methods=[GET]}” onto private java.util.Map<java.lang.String, java.lang.Object> com.Dylan.o2o.web.shopadmin.ShopManagementController.getShopInitInfo()
10月 09, 2020 4:04:40 下午 org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFO: Mapped “{[/shopadim/registerShop],methods=[POST]}” onto private java.util.Map<java.lang.String, java.lang.Object> com.Dylan.o2o.web.shopadmin.ShopManagementController.registerShop(javax.servlet.http.HttpServletRequest)
10月 09, 2020 4:04:41 下午 org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter initControllerAdviceCache
INFO: Looking for @ControllerAdvice: WebApplicationContext for namespace ‘spring-dispatcher-servlet’: startup date [Fri Oct 09 16:04:39 ACDT 2020]; root of context hierarchy
10月 09, 2020 4:04:41 下午 org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter initControllerAdviceCache
INFO: Looking for @ControllerAdvice: WebApplicationContext for namespace ‘spring-dispatcher-servlet’: startup date [Fri Oct 09 16:04:39 ACDT 2020]; root of context hierarchy
10月 09, 2020 4:04:41 下午 org.springframework.web.servlet.handler.SimpleUrlHandlerMapping registerHandler
INFO: Mapped URL path [/resources/] onto handler 'org.springframework.web.servlet.resource.ResourceHttpRequestHandler#0’
10月 09, 2020 4:04:41 下午 org.springframework.web.servlet.handler.SimpleUrlHandlerMapping registerHandler
INFO: Mapped URL path [/
] onto handler 'org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler#0’
10月 09, 2020 4:04:41 下午 org.springframework.web.servlet.DispatcherServlet initServletBean
INFO: FrameworkServlet ‘spring-dispatcher’: initialization completed in 2175 ms

添加回答

1回答

  • 同学好,这里说的是listmainpageinfo 这个路由没有设置,所以出现了404问题 同学可以全文件搜索一下 listmainpageinfo,看看你哪里设置上...
    2020-10-10 01:34:44

Java主流技术栈SSM+SpringBoot商铺系统(升级更新)

难度初级
时长25小时30分钟
人数4300
好评度99.7%

SSM商铺系统V1.0,解决毕业设计痛点;SpringBoot商铺V2.0,满足企业工作刚需

讲师

翔仔 JAVA开发工程师

拥有丰富的大型网站架构经验,先后参与并负责过Java、PHP、Go等项目的开发,自己曾创过业,也曾在汤森路透负责金融产品的研发工作,现就职于某知名大型互联网(BAT)公司,负责海量数据处理系统的研发工作

意见反馈 帮助中心 APP下载
官方微信