无语了,感觉是配置文件或者依赖出了问题。
日志信息
E:\SoftWare\apache-tomcat-8.5.55\bin\catalina.bat run
[2020-05-19 06:26:57,653] Artifact o2o:war exploded: Waiting for server connection to start artifact deployment...
Using CATALINA_BASE: "C:\Users\cc\.IntelliJIdea2019.3\system\tomcat\Unnamed_o2o"
Using CATALINA_HOME: "E:\SoftWare\apache-tomcat-8.5.55"
Using CATALINA_TMPDIR: "E:\SoftWare\apache-tomcat-8.5.55\temp"
Using JRE_HOME: "C:\Program Files\Java\jdk1.8.0_161"
Using CLASSPATH: "E:\SoftWare\apache-tomcat-8.5.55\bin\bootstrap.jar;E:\SoftWare\apache-tomcat-8.5.55\bin\tomcat-juli.jar"
19-May-2020 18:26:59.192 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server.服务器版本: Apache Tomcat/8.5.55
19-May-2020 18:26:59.192 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 服务器构建: May 5 2020 22:10:54 UTC
19-May-2020 18:26:59.192 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 服务器版本号(: 8.5.55.0
19-May-2020 18:26:59.192 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 操作系统名称: Windows 10
19-May-2020 18:26:59.192 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS.版本: 10.0
19-May-2020 18:26:59.192 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 架构: amd64
19-May-2020 18:26:59.192 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java 环境变量: C:\Program Files\Java\jdk1.8.0_161\jre
19-May-2020 18:26:59.192 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java虚拟机版本: 1.8.0_161-b12
19-May-2020 18:26:59.192 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM.供应商: Oracle Corporation
19-May-2020 18:26:59.192 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Users\cc\.IntelliJIdea2019.3\system\tomcat\Unnamed_o2o
19-May-2020 18:26:59.192 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: E:\SoftWare\apache-tomcat-8.5.55
19-May-2020 18:26:59.192 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:-Djava.util.logging.config.file=C:\Users\cc\.IntelliJIdea2019.3\system\tomcat\Unnamed_o2o\conf\logging.properties
19-May-2020 18:26:59.192 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
19-May-2020 18:26:59.192 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:-Dcom.sun.management.jmxremote=
19-May-2020 18:26:59.192 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:-Dcom.sun.management.jmxremote.port=1099
19-May-2020 18:26:59.192 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:-Dcom.sun.management.jmxremote.ssl=false
19-May-2020 18:26:59.192 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:-Dcom.sun.management.jmxremote.password.file=C:\Users\cc\.IntelliJIdea2019.3\system\tomcat\Unnamed_o2o\jmxremote.password
19-May-2020 18:26:59.192 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:-Dcom.sun.management.jmxremote.access.file=C:\Users\cc\.IntelliJIdea2019.3\system\tomcat\Unnamed_o2o\jmxremote.access
19-May-2020 18:26:59.192 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:-Djava.rmi.server.hostname=127.0.0.1
19-May-2020 18:26:59.192 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:-Djdk.tls.ephemeralDHKeySize=2048
19-May-2020 18:26:59.192 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:-Djava.protocol.handler.pkgs=org.apache.catalina.webresources
19-May-2020 18:26:59.192 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:-Dignore.endorsed.dirs=
19-May-2020 18:26:59.192 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:-Dcatalina.base=C:\Users\cc\.IntelliJIdea2019.3\system\tomcat\Unnamed_o2o
19-May-2020 18:26:59.192 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:-Dcatalina.home=E:\SoftWare\apache-tomcat-8.5.55
19-May-2020 18:26:59.192 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:-Djava.io.tmpdir=E:\SoftWare\apache-tomcat-8.5.55\temp
19-May-2020 18:26:59.192 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent 使用APR版本[1.7.0]加载了基于APR的Apache Tomcat本机库[1.2.24]。
19-May-2020 18:26:59.192 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR功能:IPv6[true]、sendfile[true]、accept filters[false]、random[true]。
19-May-2020 18:26:59.208 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL配置:useAprConnector[false],useOpenSSL[true]
19-May-2020 18:26:59.208 信息 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL成功初始化 [OpenSSL 1.1.1g 21 Apr 2020]
19-May-2020 18:26:59.301 信息 [main] org.apache.coyote.AbstractProtocol.init 初始化协议处理器 ["http-nio-8080"]
19-May-2020 18:26:59.317 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
19-May-2020 18:26:59.333 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 447 ms
19-May-2020 18:26:59.348 信息 [main] org.apache.catalina.core.StandardService.startInternal 正在启动服务[Catalina]
19-May-2020 18:26:59.348 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.55
19-May-2020 18:26:59.364 信息 [main] org.apache.coyote.AbstractProtocol.start 开始协议处理句柄["http-nio-8080"]
19-May-2020 18:26:59.379 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 42 ms
Connected to server
[2020-05-19 06:26:59,731] Artifact o2o:war exploded: Artifact is being deployed, please wait...
19-May-2020 18:27:02.461 信息 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars 至少有一个JAR被扫描用于TLD但尚未包含TLD。 为此记录器启用调试日志记录,以获取已扫描但未在其中找到TLD的完整JAR列表。 在扫描期间跳过不需要的JAR可以缩短启动时间和JSP编译时间。
18:27:02.822 [RMI TCP Connection(3)-127.0.0.1] INFO org.springframework.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcher'
18:27:02.869 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.web.context.support.XmlWebApplicationContext - Refreshing WebApplicationContext for namespace 'dispatcher-servlet'
18:27:03.228 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loaded 9 bean definitions from file [E:\zhongruan\java\o2o\target\o2o\WEB-INF\classes\spring\spring-dao.xml]
18:27:03.291 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.context.annotation.ClassPathBeanDefinitionScanner - Identified candidate component class: file [E:\zhongruan\java\o2o\target\o2o\WEB-INF\classes\com\imooc\o2o\service\impl\AreaServiceImpl.class]
18:27:03.322 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loaded 7 bean definitions from file [E:\zhongruan\java\o2o\target\o2o\WEB-INF\classes\spring\spring-service.xml]
18:27:03.369 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.context.annotation.ClassPathBeanDefinitionScanner - Identified candidate component class: file [E:\zhongruan\java\o2o\target\o2o\WEB-INF\classes\com\imooc\o2o\web\superadmin\AreaController.class]
18:27:03.463 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loaded 24 bean definitions from file [E:\zhongruan\java\o2o\target\o2o\WEB-INF\classes\spring\spring-web.xml]
18:27:03.580 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
18:27:03.714 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.mybatis.spring.mapper.MapperScannerConfigurer#0'
18:27:03.746 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner - Identified candidate component class: file [E:\zhongruan\java\o2o\target\o2o\WEB-INF\classes\com\imooc\o2o\dao\AreaDao.class]
18:27:03.746 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner - Creating MapperFactoryBean with name 'areaDao' and 'com.imooc.o2o.dao.AreaDao' mapperInterface
18:27:03.746 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.support.PropertySourcesPlaceholderConfigurer#0'
18:27:03.777 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [java:comp/env/jdbc.driver]
18:27:03.777 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiLocatorDelegate - Converted JNDI name [java:comp/env/jdbc.driver] not found - trying original name [jdbc.driver]. javax.naming.NameNotFoundException: 名称[jdbc.driver]未在此上下文中绑定。找不到[jdbc.driver]。
18:27:03.777 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [jdbc.driver]
18:27:03.777 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiPropertySource - JNDI lookup for name [jdbc.driver] threw NamingException with message: 名称[jdbc.driver]未在此上下文中绑定。找不到[jdbc.driver]。. Returning null.
18:27:03.777 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.core.env.PropertySourcesPropertyResolver - Found key 'jdbc.driver' in PropertySource 'localProperties' with value of type String
18:27:03.777 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [java:comp/env/jdbc.url]
18:27:03.777 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiLocatorDelegate - Converted JNDI name [java:comp/env/jdbc.url] not found - trying original name [jdbc.url]. javax.naming.NameNotFoundException: 名称[jdbc.url]未在此上下文中绑定。找不到[jdbc.url]。
18:27:03.777 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [jdbc.url]
18:27:03.777 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiPropertySource - JNDI lookup for name [jdbc.url] threw NamingException with message: 名称[jdbc.url]未在此上下文中绑定。找不到[jdbc.url]。. Returning null.
18:27:03.777 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.core.env.PropertySourcesPropertyResolver - Found key 'jdbc.url' in PropertySource 'localProperties' with value of type String
18:27:03.777 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [java:comp/env/jdbc.username]
18:27:03.777 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiLocatorDelegate - Converted JNDI name [java:comp/env/jdbc.username] not found - trying original name [jdbc.username]. javax.naming.NameNotFoundException: 名称[jdbc.username]未在此上下文中绑定。找不到[jdbc.username]。
18:27:03.777 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [jdbc.username]
18:27:03.777 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiPropertySource - JNDI lookup for name [jdbc.username] threw NamingException with message: 名称[jdbc.username]未在此上下文中绑定。找不到[jdbc.username]。. Returning null.
18:27:03.777 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.core.env.PropertySourcesPropertyResolver - Found key 'jdbc.username' in PropertySource 'localProperties' with value of type String
18:27:03.777 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [java:comp/env/jdbc.password]
18:27:03.777 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiLocatorDelegate - Converted JNDI name [java:comp/env/jdbc.password] not found - trying original name [jdbc.password]. javax.naming.NameNotFoundException: 名称[jdbc.password]未在此上下文中绑定。找不到[jdbc.password]。
18:27:03.777 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [jdbc.password]
18:27:03.777 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiPropertySource - JNDI lookup for name [jdbc.password] threw NamingException with message: 名称[jdbc.password]未在此上下文中绑定。找不到[jdbc.password]。. Returning null.
18:27:03.777 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.core.env.PropertySourcesPropertyResolver - Found key 'jdbc.password' in PropertySource 'localProperties' with value of type String
18:27:03.793 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.event.internalEventListenerProcessor'
18:27:03.793 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.event.internalEventListenerFactory'
18:27:03.793 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.transaction.config.internalTransactionalEventListenerFactory'
18:27:03.793 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
18:27:03.793 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
18:27:03.808 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.aop.config.internalAutoProxyCreator'
18:27:03.871 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.ui.context.support.UiApplicationContextUtils - Unable to locate ThemeSource with name 'themeSource': using default [org.springframework.ui.context.support.ResourceBundleThemeSource@57d2290f]
18:27:03.871 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'datasource'
18:27:03.918 [MLog-Init-Reporter] INFO com.mchange.v2.log.MLog - MLog clients using slf4j logging.
18:27:03.933 [MLog-Init-Reporter] DEBUG com.mchange.v2.log.MLog - Reading VM config for path list /com/mchange/v2/log/default-mchange-log.properties, /mchange-commons.properties, /c3p0.properties, hocon:/reference,/application,/c3p0,/, /mchange-log.properties, /
18:27:03.933 [MLog-Init-Reporter] DEBUG com.mchange.v2.log.MLog - The configuration file for resource identifier '/mchange-commons.properties' could not be found. Skipping.
18:27:03.933 [MLog-Init-Reporter] DEBUG com.mchange.v2.log.MLog - The configuration file for resource identifier '/c3p0.properties' could not be found. Skipping.
18:27:03.933 [MLog-Init-Reporter] DEBUG com.mchange.v2.log.MLog - The configuration file for resource identifier 'hocon:/reference,/application,/c3p0,/' could not be found. Skipping.
18:27:03.933 [MLog-Init-Reporter] DEBUG com.mchange.v2.log.MLog - The configuration file for resource identifier '/mchange-log.properties' could not be found. Skipping.
18:27:03.933 [RMI TCP Connection(3)-127.0.0.1] DEBUG com.mchange.v2.cfg.MConfig - The configuration file for resource identifier '/mchange-commons.properties' could not be found. Skipping.
18:27:03.933 [RMI TCP Connection(3)-127.0.0.1] DEBUG com.mchange.v2.cfg.MConfig - The configuration file for resource identifier '/mchange-log.properties' could not be found. Skipping.
18:27:03.933 [RMI TCP Connection(3)-127.0.0.1] DEBUG com.mchange.v2.cfg.MConfig - The configuration file for resource identifier 'hocon:/reference,/application,/c3p0,/' could not be found. Skipping.
18:27:03.933 [RMI TCP Connection(3)-127.0.0.1] DEBUG com.mchange.v2.cfg.MConfig - The configuration file for resource identifier '/c3p0.properties' could not be found. Skipping.
18:27:03.996 [RMI TCP Connection(3)-127.0.0.1] INFO com.mchange.v2.c3p0.C3P0Registry - Initializing c3p0-0.9.5.2 [built 08-December-2015 22:06:04 -0800; debug? true; trace: 10]
18:27:04.027 [RMI TCP Connection(3)-127.0.0.1] DEBUG com.mchange.v2.c3p0.management.DynamicPooledDataSourceManagerMBean - MBean: com.mchange.v2.c3p0:type=PooledDataSource,identityToken=1hge1d1aacc81b01mvnm0u|78c7706b,name=1hge1d1aacc81b01mvnm0u|78c7706b registered.
18:27:04.043 [RMI TCP Connection(3)-127.0.0.1] DEBUG com.mchange.v2.c3p0.management.DynamicPooledDataSourceManagerMBean - MBean: com.mchange.v2.c3p0:type=PooledDataSource,identityToken=1hge1d1aacc81b01mvnm0u|78c7706b,name=1hge1d1aacc81b01mvnm0u|78c7706b unregistered, in order to be reregistered after update.
18:27:04.043 [RMI TCP Connection(3)-127.0.0.1] DEBUG com.mchange.v2.c3p0.management.DynamicPooledDataSourceManagerMBean - MBean: com.mchange.v2.c3p0:type=PooledDataSource,identityToken=1hge1d1aacc81b01mvnm0u|78c7706b,name=1hge1d1aacc81b01mvnm0u|78c7706b registered.
18:27:04.089 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.transaction.config.internalTransactionAdvisor'
18:27:04.089 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0'
18:27:04.152 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'sqlSessionFactory'
18:27:04.183 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.logging.LogFactory - Logging initialized using 'class org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter.
18:27:04.324 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.VFS - Class not found: org.jboss.vfs.VFS
18:27:04.339 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.JBoss6VFS - JBoss 6 VFS API is not available in this environment.
18:27:04.339 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.VFS - Class not found: org.jboss.vfs.VirtualFile
18:27:04.339 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.VFS - VFS implementation org.apache.ibatis.io.JBoss6VFS is not valid in this environment.
18:27:04.339 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.VFS - Using VFS adapter org.apache.ibatis.io.DefaultVFS
18:27:04.339 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Find JAR URL: file:/E:/zhongruan/java/o2o/target/o2o/WEB-INF/classes/com/imooc/o2o/entity/
18:27:04.339 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Not a JAR: file:/E:/zhongruan/java/o2o/target/o2o/WEB-INF/classes/com/imooc/o2o/entity/
18:27:04.355 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Reader entry: Area.class
18:27:04.355 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Reader entry: HeadLine.class
18:27:04.355 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Reader entry: LocalAuth.class
18:27:04.371 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Reader entry: PersonInfo.class
18:27:04.371 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Reader entry: Product.class
18:27:04.371 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Reader entry: ProductCategory.class
18:27:04.371 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Reader entry: ProductImg.class
18:27:04.371 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Reader entry: Shop.class
18:27:04.371 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Reader entry: ShopCategory.class
18:27:04.371 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Reader entry: WechatAuth.class
18:27:04.371 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Listing file:/E:/zhongruan/java/o2o/target/o2o/WEB-INF/classes/com/imooc/o2o/entity/
18:27:04.371 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Find JAR URL: file:/E:/zhongruan/java/o2o/target/o2o/WEB-INF/classes/com/imooc/o2o/entity/Area.class
18:27:04.371 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Not a JAR: file:/E:/zhongruan/java/o2o/target/o2o/WEB-INF/classes/com/imooc/o2o/entity/Area.class
18:27:04.371 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Reader entry: 漱壕 3 2
18:27:04.371 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Find JAR URL: file:/E:/zhongruan/java/o2o/target/o2o/WEB-INF/classes/com/imooc/o2o/entity/HeadLine.class
18:27:04.371 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Not a JAR: file:/E:/zhongruan/java/o2o/target/o2o/WEB-INF/classes/com/imooc/o2o/entity/HeadLine.class
18:27:04.371 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Reader entry: 漱壕 3 D
18:27:04.371 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Find JAR URL: file:/E:/zhongruan/java/o2o/target/o2o/WEB-INF/classes/com/imooc/o2o/entity/LocalAuth.class
18:27:04.371 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Not a JAR: file:/E:/zhongruan/java/o2o/target/o2o/WEB-INF/classes/com/imooc/o2o/entity/LocalAuth.class
18:27:04.371 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Reader entry: 漱壕 3 :
18:27:04.371 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Find JAR URL: file:/E:/zhongruan/java/o2o/target/o2o/WEB-INF/classes/com/imooc/o2o/entity/PersonInfo.class
18:27:04.371 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Not a JAR: file:/E:/zhongruan/java/o2o/target/o2o/WEB-INF/classes/com/imooc/o2o/entity/PersonInfo.class
18:27:04.371 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Reader entry: 漱壕 3 I
18:27:04.371 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Find JAR URL: file:/E:/zhongruan/java/o2o/target/o2o/WEB-INF/classes/com/imooc/o2o/entity/Product.class
18:27:04.371 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Not a JAR: file:/E:/zhongruan/java/o2o/target/o2o/WEB-INF/classes/com/imooc/o2o/entity/Product.class
18:27:04.371 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Reader entry: 漱壕 3 p
18:27:04.371 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Find JAR URL: file:/E:/zhongruan/java/o2o/target/o2o/WEB-INF/classes/com/imooc/o2o/entity/ProductCategory.class
18:27:04.371 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Not a JAR: file:/E:/zhongruan/java/o2o/target/o2o/WEB-INF/classes/com/imooc/o2o/entity/ProductCategory.class
18:27:04.371 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Reader entry: 漱壕 3 5
18:27:04.371 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Find JAR URL: file:/E:/zhongruan/java/o2o/target/o2o/WEB-INF/classes/com/imooc/o2o/entity/ProductImg.class
18:27:04.371 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Not a JAR: file:/E:/zhongruan/java/o2o/target/o2o/WEB-INF/classes/com/imooc/o2o/entity/ProductImg.class
18:27:04.386 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Reader entry: 漱壕 3 :
18:27:04.386 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Find JAR URL: file:/E:/zhongruan/java/o2o/target/o2o/WEB-INF/classes/com/imooc/o2o/entity/Shop.class
18:27:04.386 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Not a JAR: file:/E:/zhongruan/java/o2o/target/o2o/WEB-INF/classes/com/imooc/o2o/entity/Shop.class
18:27:04.386 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Reader entry: 漱壕 3 k
18:27:04.386 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Find JAR URL: file:/E:/zhongruan/java/o2o/target/o2o/WEB-INF/classes/com/imooc/o2o/entity/ShopCategory.class
18:27:04.386 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Not a JAR: file:/E:/zhongruan/java/o2o/target/o2o/WEB-INF/classes/com/imooc/o2o/entity/ShopCategory.class
18:27:04.386 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Reader entry: 漱壕 3 F
18:27:04.386 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Find JAR URL: file:/E:/zhongruan/java/o2o/target/o2o/WEB-INF/classes/com/imooc/o2o/entity/WechatAuth.class
18:27:04.386 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Not a JAR: file:/E:/zhongruan/java/o2o/target/o2o/WEB-INF/classes/com/imooc/o2o/entity/WechatAuth.class
18:27:04.386 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.DefaultVFS - Reader entry: 漱壕 3 0
18:27:04.386 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.ResolverUtil - Checking to see if class com.imooc.o2o.entity.Area matches criteria [is assignable to Object]
18:27:04.386 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.ResolverUtil - Checking to see if class com.imooc.o2o.entity.HeadLine matches criteria [is assignable to Object]
18:27:04.386 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.ResolverUtil - Checking to see if class com.imooc.o2o.entity.LocalAuth matches criteria [is assignable to Object]
18:27:04.386 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.ResolverUtil - Checking to see if class com.imooc.o2o.entity.PersonInfo matches criteria [is assignable to Object]
18:27:04.386 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.ResolverUtil - Checking to see if class com.imooc.o2o.entity.Product matches criteria [is assignable to Object]
18:27:04.386 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.ResolverUtil - Checking to see if class com.imooc.o2o.entity.ProductCategory matches criteria [is assignable to Object]
18:27:04.386 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.ResolverUtil - Checking to see if class com.imooc.o2o.entity.ProductImg matches criteria [is assignable to Object]
18:27:04.386 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.ResolverUtil - Checking to see if class com.imooc.o2o.entity.Shop matches criteria [is assignable to Object]
18:27:04.386 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.ResolverUtil - Checking to see if class com.imooc.o2o.entity.ShopCategory matches criteria [is assignable to Object]
18:27:04.386 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.io.ResolverUtil - Checking to see if class com.imooc.o2o.entity.WechatAuth matches criteria [is assignable to Object]
18:27:04.386 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.mybatis.spring.SqlSessionFactoryBean - Scanned package: 'com.imooc.o2o.entity' for aliases
18:27:04.449 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.mybatis.spring.SqlSessionFactoryBean - Parsed configuration file: 'class path resource [mybatis-config.xml]'
18:27:04.536 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.mybatis.spring.SqlSessionFactoryBean - Parsed mapper file: 'file [E:\zhongruan\java\o2o\target\o2o\WEB-INF\classes\mapper\AreaDao.xml]'
18:27:04.555 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'areaServiceImpl'
18:27:04.587 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'transactionManager'
18:27:04.611 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.transaction.interceptor.TransactionInterceptor#0'
18:27:04.642 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'areaController'
18:27:04.642 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'mvcContentNegotiationManager'
18:27:04.673 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping'
18:27:04.720 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'mvcCorsConfigurations'
18:27:04.720 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.web.servlet.handler.MappedInterceptor#0'
18:27:04.720 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.format.support.FormattingConversionServiceFactoryBean#0'
18:27:04.834 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.web.servlet.handler.MappedInterceptor#1'
18:27:04.866 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping - 1 mappings in 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping'
18:27:04.866 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter'
18:27:05.303 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
18:27:05.365 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'mvcUriComponentsContributor'
18:27:05.381 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
18:27:05.381 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver#0'
18:27:05.412 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
18:27:05.412 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver#0'
18:27:05.428 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver#0'
18:27:05.428 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping'
18:27:05.444 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter'
18:27:05.444 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter'
18:27:05.444 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'mvcResourceUrlProvider'
18:27:05.444 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'mvcPathMatcher'
18:27:05.444 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'mvcUrlPathHelper'
18:27:05.444 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.web.servlet.resource.ResourceHttpRequestHandler#0'
18:27:05.564 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#0'
18:27:05.564 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.web.servlet.handler.SimpleUrlHandlerMapping - Patterns [/resources/**] in 'org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#0'
18:27:05.564 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler#0'
18:27:05.564 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#1'
18:27:05.564 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.web.servlet.handler.SimpleUrlHandlerMapping - Patterns [/**] in 'org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#1'
18:27:05.564 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.web.servlet.view.InternalResourceViewResolver#0'
18:27:05.595 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'areaDao'
18:27:05.657 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [java:comp/env/spring.liveBeansView.mbeanDomain]
18:27:05.665 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiLocatorDelegate - Converted JNDI name [java:comp/env/spring.liveBeansView.mbeanDomain] not found - trying original name [spring.liveBeansView.mbeanDomain]. javax.naming.NameNotFoundException: 名称[spring.liveBeansView.mbeanDomain]未在此上下文中绑定。找不到[spring.liveBeansView.mbeanDomain]。
18:27:05.665 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [spring.liveBeansView.mbeanDomain]
18:27:05.665 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiPropertySource - JNDI lookup for name [spring.liveBeansView.mbeanDomain] threw NamingException with message: 名称[spring.liveBeansView.mbeanDomain]未在此上下文中绑定。找不到[spring.liveBeansView.mbeanDomain]。. Returning null.
18:27:05.668 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.web.servlet.DispatcherServlet - enableLoggingRequestDetails='false': request parameters and headers will be masked to prevent unsafe logging of potentially sensitive data
18:27:05.668 [RMI TCP Connection(3)-127.0.0.1] INFO org.springframework.web.servlet.DispatcherServlet - Completed initialization in 2846 ms
[2020-05-19 06:27:05,676] Artifact o2o:war exploded: Artifact is deployed successfully
[2020-05-19 06:27:05,676] Artifact o2o:war exploded: Deploy took 5,945 milliseconds
19-May-2020 18:27:09.367 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory 把web 应用程序部署到目录 [E:\SoftWare\apache-tomcat-8.5.55\webapps\manager]
19-May-2020 18:27:09.423 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Web应用程序目录[E:\SoftWare\apache-tomcat-8.5.55\webapps\manager]的部署已在[56]毫秒内完成
18:27:09.625 [http-nio-8080-exec-5] DEBUG org.springframework.web.servlet.DispatcherServlet - GET "/o2o/superadmin/listarea", parameters={}
18:27:09.634 [http-nio-8080-exec-5] DEBUG org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping - Mapped to com.imooc.o2o.web.superadmin.AreaController#listArea()
18:27:09.661 [http-nio-8080-exec-5] DEBUG org.springframework.web.servlet.DispatcherServlet - Failed to complete request: org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.StackOverflowError
还有一个日志
19-May-2020 18:27:02.601 信息 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types detected on classpath
19-May-2020 18:27:02.806 信息 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.ApplicationContext.log Initializing Spring DispatcherServlet 'dispatcher'
19-May-2020 18:27:09.662 严重 [http-nio-8080-exec-5] org.apache.catalina.core.StandardWrapperValve.invoke 在路径为/o2o的上下文中,Servlet[dispatcher]的Servlet.service()引发了具有根本原因的异常Handler dispatch failed; nested exception is java.lang.StackOverflowError
java.lang.StackOverflowError
at com.imooc.o2o.service.impl.AreaServiceImpl.getAll(AreaServiceImpl.java:18)
at com.imooc.o2o.service.impl.AreaServiceImpl.getAll(AreaServiceImpl.java:18)
at com.imooc.o2o.service.impl.AreaServiceImpl.getAll(AreaServiceImpl.java:18)
正在回答
同学能自己解决问题,棒棒哒。
从同学贴出来的日志信息中,并没有找到具体有用的报错内容。另外在写程序时,建议同学和老师的版本保持一致,避免因为版本不一致造成的问题。
祝:学习愉快~
pom依赖
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.imooc</groupId>
<artifactId>o2o</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>war</packaging>
<name>o2o Maven Webapp</name>
<!-- FIXME change it to the project's website -->
<url>http://www.example.com</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<spring.version>5.2.0.RELEASE</spring.version>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/ch.qos.logback/logback-classic -->
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.3</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-expression</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>${spring.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
<version>3.5.4</version>
</dependency>
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis-spring</artifactId>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.45</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.mchange/c3p0 -->
<dependency>
<groupId>com.mchange</groupId>
<artifactId>c3p0</artifactId>
<version>0.9.5.2</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.10.2</version>
</dependency>
<!-- https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
</dependency>
<!-- Map工具类 对标准的Java collection的扩展 spring-core需要commons-collections-->
<!-- https://mvnrepository.com/artifact/commons-collections/commons-collections -->
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.2.2</version>
</dependency>
</dependencies>
<build>
<finalName>o2o</finalName>
<pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
<plugins>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<!-- see http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_war_packaging -->
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.0.2</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>3.2.2</version>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>- 参与学习 人
- 提交作业 323 份
- 解答问题 8263 个
本阶段将带你学习主流框架SSM,以及SpringBoot ,打通成为Java工程师的最后一公里!
了解课程
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星