E:\apache-tomcat-7.0.52\bin\catalina.bat run
[2019-10-16 04:49:30,737] Artifact day08:war exploded: Waiting for server connection to start artifact deployment…
Using CATALINA_BASE: “C:\Users\Administrator.IntelliJIdea2019.2\system\tomcat\Tomcat_7_0_524_day08”
Using CATALINA_HOME: “E:\apache-tomcat-7.0.52”
Using CATALINA_TMPDIR: “E:\apache-tomcat-7.0.52\temp”
Using JRE_HOME: “C:\Program Files\Java\jdk1.8.0_144”
Using CLASSPATH: “E:\apache-tomcat-7.0.52\bin\bootstrap.jar;E:\apache-tomcat-7.0.52\bin\tomcat-juli.jar”
十月 16, 2019 4:49:31 下午 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.8.0_144\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jdk1.8.0_144bin;C:\Program Files\Java\jdk1.8.0_144\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Lenovo\Fingerprint Manager Pro;C:\Program Files (x86)\MySQL\MySQL Server 5.5\bin;D:\nyser\bin;C:\Users\Administrator\AppData\Local\BypassRuntm;.
十月 16, 2019 4:49:31 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler [“http-bio-8080”]
十月 16, 2019 4:49:31 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler [“ajp-bio-8009”]
十月 16, 2019 4:49:31 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 644 ms
十月 16, 2019 4:49:32 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
十月 16, 2019 4:49:32 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.52
十月 16, 2019 4:49:32 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler [“http-bio-8080”]
十月 16, 2019 4:49:32 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler [“ajp-bio-8009”]
十月 16, 2019 4:49:32 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 104 ms
Connected to server
[2019-10-16 04:49:32,417] Artifact day08:war exploded: Artifact is being deployed, please wait…
十月 16, 2019 4:49:32 下午 org.apache.catalina.deploy.WebXml setVersion
警告: Unknown version string [4.0]. Default version will be used.
十月 16, 2019 4:49:35 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
十月 16, 2019 4:49:35 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
十月 16, 2019 4:49:35 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
十月 16, 2019 4:49:35 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
十月 16, 2019 4:49:35 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
十月 16, 2019 4:49:35 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
十月 16, 2019 4:49:35 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
十月 16, 2019 4:49:35 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined
十月 16, 2019 4:49:35 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
十月 16, 2019 4:49:35 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
十月 16, 2019 4:49:36 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
十月 16, 2019 4:49:36 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
十月 16, 2019 4:49:36 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
十月 16, 2019 4:49:36 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
十月 16, 2019 4:49:36 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
INFO [RMI TCP Connection(3)-127.0.0.1] - Root WebApplicationContext: initialization started
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Adding [servletConfigInitParams] PropertySource with lowest search precedence
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Adding [servletContextInitParams] PropertySource with lowest search precedence
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Adding [jndiProperties] PropertySource with lowest search precedence
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Adding [systemProperties] PropertySource with lowest search precedence
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Adding [systemEnvironment] PropertySource with lowest search precedence
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,jndiProperties,systemProperties,systemEnvironment]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Replacing [servletContextInitParams] PropertySource with [servletContextInitParams]
INFO [RMI TCP Connection(3)-127.0.0.1] - Refreshing Root WebApplicationContext: startup date [Wed Oct 16 16:49:36 CST 2019]; root of context hierarchy
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Adding [systemProperties] PropertySource with lowest search precedence
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Adding [systemEnvironment] PropertySource with lowest search precedence
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Looking for matching resources in directory tree [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\spring]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching directory [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\spring] for files matching pattern [E:/idea/day08/out/artifacts/day08_war_exploded/WEB-INF/classes/spring/bean_.xml]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Resolved location pattern [classpath:spring/bean_.xml] to resources [file [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\spring\bean_core.xml], file [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\spring\bean_transaction.xml]]
INFO [RMI TCP Connection(3)-127.0.0.1] - Loading XML bean definitions from file [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\spring\bean_core.xml]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Using JAXP provider [com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Loading schema mappings from [META-INF/spring.schemas]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Loaded schema mappings: {http://www.springframework.org/schema/tx/spring-tx-2.5.xsd=org/springframework/transaction/config/spring-tx-2.5.xsd, http://www.springframework.org/schema/aop/spring-aop-4.1.xsd=org/springframework/aop/config/spring-aop-4.1.xsd, http://www.springframework.org/schema/context/spring-context-3.1.xsd=org/springframework/context/config/spring-context-3.1.xsd, http://www.springframework.org/schema/jdbc/spring-jdbc-4.1.xsd=org/springframework/jdbc/config/spring-jdbc-4.1.xsd, http://www.springframework.org/schema/jms/spring-jms-2.5.xsd=org/springframework/jms/config/spring-jms-2.5.xsd, http://www.springframework.org/schema/mvc/spring-mvc-4.1.xsd=org/springframework/web/servlet/config/spring-mvc-4.1.xsd, http://www.springframework.org/schema/util/spring-util-3.0.xsd=org/springframework/beans/factory/xml/spring-util-3.0.xsd, http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-4.1.xsd, http://www.springframework.org/schema/aop/spring-aop-3.2.xsd=org/springframework/aop/config/spring-aop-3.2.xsd, http://mybatis.org/schema/mybatis-spring-1.2.xsd=org/mybatis/spring/config/mybatis-spring-1.2.xsd, http://www.springframework.org/schema/lang/spring-lang-4.1.xsd=org/springframework/scripting/config/spring-lang-4.1.xsd, http://www.springframework.org/schema/context/spring-context-4.0.xsd=org/springframework/context/config/spring-context-4.0.xsd, http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd=org/springframework/web/servlet/config/spring-mvc-3.2.xsd, http://www.springframework.org/schema/tool/spring-tool-4.1.xsd=org/springframework/beans/factory/xml/spring-tool-4.1.xsd, http://www.springframework.org/schema/lang/spring-lang-3.2.xsd=org/springframework/scripting/config/spring-lang-3.2.xsd, http://www.springframework.org/schema/cache/spring-cache-3.2.xsd=org/springframework/cache/config/spring-cache-3.2.xsd, http://www.springframework.org/schema/jee/spring-jee-4.1.xsd=org/springframework/ejb/config/spring-jee-4.1.xsd, http://www.springframework.org/schema/jdbc/spring-jdbc-3.1.xsd=org/springframework/jdbc/config/spring-jdbc-3.1.xsd, http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd, http://www.springframework.org/schema/tool/spring-tool-3.2.xsd=org/springframework/beans/factory/xml/spring-tool-3.2.xsd, http://www.springframework.org/schema/context/spring-context.xsd=org/springframework/context/config/spring-context-4.1.xsd, http://www.springframework.org/schema/cache/spring-cache-4.1.xsd=org/springframework/cache/config/spring-cache-4.1.xsd, http://www.springframework.org/schema/aop/spring-aop-4.0.xsd=org/springframework/aop/config/spring-aop-4.0.xsd, http://www.springframework.org/schema/jee/spring-jee-3.2.xsd=org/springframework/ejb/config/spring-jee-3.2.xsd, http://www.springframework.org/schema/context/spring-context-3.0.xsd=org/springframework/context/config/spring-context-3.0.xsd, http://www.springframework.org/schema/jdbc/spring-jdbc-4.0.xsd=org/springframework/jdbc/config/spring-jdbc-4.0.xsd, http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd=org/springframework/web/servlet/config/spring-mvc-4.0.xsd, http://www.springframework.org/schema/util/spring-util-2.5.xsd=org/springframework/beans/factory/xml/spring-util-2.5.xsd, http://www.springframework.org/schema/beans/spring-beans-3.2.xsd=org/springframework/beans/factory/xml/spring-beans-3.2.xsd, http://www.springframework.org/schema/aop/spring-aop-3.1.xsd=org/springframework/aop/config/spring-aop-3.1.xsd, http://www.springframework.org/schema/lang/spring-lang-4.0.xsd=org/springframework/scripting/config/spring-lang-4.0.xsd, http://www.springframework.org/schema/mvc/spring-mvc.xsd=org/springframework/web/servlet/config/spring-mvc-4.1.xsd, http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd=org/springframework/web/servlet/config/spring-mvc-3.1.xsd, http://www.springframework.org/schema/beans/spring-beans-4.1.xsd=org/springframework/beans/factory/xml/spring-beans-4.1.xsd, http://www.springframework.org/schema/tool/spring-tool-4.0.xsd=org/springframework/beans/factory/xml/spring-tool-4.0.xsd, http://www.springframework.org/schema/tx/spring-tx-3.2.xsd=org/springframework/transaction/config/spring-tx-3.2.xsd, http://www.springframework.org/schema/lang/spring-lang-3.1.xsd=org/springframework/scripting/config/spring-lang-3.1.xsd, http://www.springframework.org/schema/cache/spring-cache-3.1.xsd=org/springframework/cache/config/spring-cache-3.1.xsd, http://www.springframework.org/schema/jee/spring-jee-4.0.xsd=org/springframework/ejb/config/spring-jee-4.0.xsd, http://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd=org/springframework/jdbc/config/spring-jdbc-3.0.xsd, http://www.springframework.org/schema/task/spring-task-4.1.xsd=org/springframework/scheduling/config/spring-task-4.1.xsd, http://www.springframework.org/schema/jdbc/spring-jdbc.xsd=org/springframework/jdbc/config/spring-jdbc-4.1.xsd, http://www.springframework.org/schema/tool/spring-tool-3.1.xsd=org/springframework/beans/factory/xml/spring-tool-3.1.xsd, http://www.springframework.org/schema/tx/spring-tx-4.1.xsd=org/springframework/transaction/config/spring-tx-4.1.xsd, http://www.springframework.org/schema/cache/spring-cache-4.0.xsd=org/springframework/cache/config/spring-cache-4.0.xsd, http://www.springframework.org/schema/jee/spring-jee-3.1.xsd=org/springframework/ejb/config/spring-jee-3.1.xsd, http://www.springframework.org/schema/task/spring-task-3.2.xsd=org/springframework/scheduling/config/spring-task-3.2.xsd, http://www.springframework.org/schema/beans/spring-beans-3.1.xsd=org/springframework/beans/factory/xml/spring-beans-3.1.xsd, http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-4.1.xsd, http://www.springframework.org/schema/aop/spring-aop-3.0.xsd=org/springframework/aop/config/spring-aop-3.0.xsd, http://www.springframework.org/schema/jms/spring-jms-3.2.xsd=org/springframework/jms/config/spring-jms-3.2.xsd, http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd=org/springframework/web/servlet/config/spring-mvc-3.0.xsd, http://www.springframework.org/schema/beans/spring-beans-4.0.xsd=org/springframework/beans/factory/xml/spring-beans-4.0.xsd, http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-4.1.xsd, http://www.springframework.org/schema/tx/spring-tx-3.1.xsd=org/springframework/transaction/config/spring-tx-3.1.xsd, http://www.springframework.org/schema/lang/spring-lang-3.0.xsd=org/springframework/scripting/config/spring-lang-3.0.xsd, http://mybatis.org/schema/mybatis-spring.xsd=org/mybatis/spring/config/mybatis-spring-1.2.xsd, http://www.springframework.org/schema/context/spring-context-2.5.xsd=org/springframework/context/config/spring-context-2.5.xsd, http://www.springframework.org/schema/jms/spring-jms-4.1.xsd=org/springframework/jms/config/spring-jms-4.1.xsd, http://www.springframework.org/schema/task/spring-task-4.0.xsd=org/springframework/scheduling/config/spring-task-4.0.xsd, http://www.springframework.org/schema/tool/spring-tool-3.0.xsd=org/springframework/beans/factory/xml/spring-tool-3.0.xsd, http://www.springframework.org/schema/tx/spring-tx-4.0.xsd=org/springframework/transaction/config/spring-tx-4.0.xsd, http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd, http://www.springframework.org/schema/jee/spring-jee-3.0.xsd=org/springframework/ejb/config/spring-jee-3.0.xsd, http://www.springframework.org/schema/util/spring-util-4.1.xsd=org/springframework/beans/factory/xml/spring-util-4.1.xsd, http://www.springframework.org/schema/task/spring-task-3.1.xsd=org/springframework/scheduling/config/spring-task-3.1.xsd, http://www.springframework.org/schema/beans/spring-beans-3.0.xsd=org/springframework/beans/factory/xml/spring-beans-3.0.xsd, http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-4.1.xsd, http://www.springframework.org/schema/jms/spring-jms.xsd=org/springframework/jms/config/spring-jms-4.1.xsd, http://www.springframework.org/schema/aop/spring-aop-2.5.xsd=org/springframework/aop/config/spring-aop-2.5.xsd, http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd, http://www.springframework.org/schema/jms/spring-jms-3.1.xsd=org/springframework/jms/config/spring-jms-3.1.xsd, http://www.springframework.org/schema/util/spring-util-3.2.xsd=org/springframework/beans/factory/xml/spring-util-3.2.xsd, http://www.springframework.org/schema/task/spring-task.xsd=org/springframework/scheduling/config/spring-task-4.1.xsd, http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd, http://www.springframework.org/schema/tx/spring-tx-3.0.xsd=org/springframework/transaction/config/spring-tx-3.0.xsd, http://www.springframework.org/schema/lang/spring-lang-2.5.xsd=org/springframework/scripting/config/spring-lang-2.5.xsd, http://www.springframework.org/schema/jms/spring-jms-4.0.xsd=org/springframework/jms/config/spring-jms-4.0.xsd, http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd, http://www.springframework.org/schema/tool/spring-tool-2.5.xsd=org/springframework/beans/factory/xml/spring-tool-2.5.xsd, http://www.springframework.org/schema/jee/spring-jee-2.5.xsd=org/springframework/ejb/config/spring-jee-2.5.xsd, http://www.springframework.org/schema/util/spring-util-4.0.xsd=org/springframework/beans/factory/xml/spring-util-4.0.xsd, http://www.springframework.org/schema/task/spring-task-3.0.xsd=org/springframework/scheduling/config/spring-task-3.0.xsd, http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-4.1.xsd, http://www.springframework.org/schema/context/spring-context-3.2.xsd=org/springframework/context/config/spring-context-3.2.xsd, http://www.springframework.org/schema/jms/spring-jms-3.0.xsd=org/springframework/jms/config/spring-jms-3.0.xsd, http://www.springframework.org/schema/util/spring-util-3.1.xsd=org/springframework/beans/factory/xml/spring-util-3.1.xsd, http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd, http://www.springframework.org/schema/cache/spring-cache.xsd=org/springframework/cache/config/spring-cache-4.1.xsd, http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-4.1.xsd, http://www.springframework.org/schema/context/spring-context-4.1.xsd=org/springframework/context/config/spring-context-4.1.xsd, http://www.springframework.org/schema/beans/spring-beans-2.5.xsd=org/springframework/beans/factory/xml/spring-beans-2.5.xsd, http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd, http://www.springframework.org/schema/jdbc/spring-jdbc-3.2.xsd=org/springframework/jdbc/config/spring-jdbc-3.2.xsd, http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-4.1.xsd}
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Found XML schema [http://www.springframework.org/schema/beans/spring-beans-4.1.xsd] in classpath: org/springframework/beans/factory/xml/spring-beans-4.1.xsd
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Found XML schema [http://www.springframework.org/schema/context/spring-context-4.1.xsd] in classpath: org/springframework/context/config/spring-context-4.1.xsd
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Found XML schema [http://www.springframework.org/schema/tool/spring-tool-4.1.xsd] in classpath: org/springframework/beans/factory/xml/spring-tool-4.1.xsd
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Loading bean definitions
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Loaded NamespaceHandler mappings: {http://www.springframework.org/schema/p=org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler, http://www.springframework.org/schema/mvc=org.springframework.web.servlet.config.MvcNamespaceHandler, http://www.springframework.org/schema/util=org.springframework.beans.factory.xml.UtilNamespaceHandler, http://www.springframework.org/schema/jee=org.springframework.ejb.config.JeeNamespaceHandler, http://www.springframework.org/schema/aop=org.springframework.aop.config.AopNamespaceHandler, http://www.springframework.org/schema/jdbc=org.springframework.jdbc.config.JdbcNamespaceHandler, http://www.springframework.org/schema/cache=org.springframework.cache.config.CacheNamespaceHandler, http://mybatis.org/schema/mybatis-spring=org.mybatis.spring.config.NamespaceHandler, http://www.springframework.org/schema/c=org.springframework.beans.factory.xml.SimpleConstructorNamespaceHandler, http://www.springframework.org/schema/tx=org.springframework.transaction.config.TxNamespaceHandler, http://www.springframework.org/schema/jms=org.springframework.jms.config.JmsNamespaceHandler, http://www.springframework.org/schema/task=org.springframework.scheduling.config.TaskNamespaceHandler, http://www.springframework.org/schema/lang=org.springframework.scripting.config.LangNamespaceHandler, http://www.springframework.org/schema/context=org.springframework.context.config.ContextNamespaceHandler}
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Adding [systemProperties] PropertySource with lowest search precedence
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Adding [systemEnvironment] PropertySource with lowest search precedence
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - JSR-250 ‘javax.annotation.ManagedBean’ found and supported for component scanning
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Looking for matching resources in directory tree [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\com\ujy]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching directory [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\com\ujy] for files matching pattern [E:/idea/day08/out/artifacts/day08_war_exploded/WEB-INF/classes/com/ujy//*.class]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching directory [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\com\ujy\bean] for files matching pattern [E:/idea/day08/out/artifacts/day08_war_exploded/WEB-INF/classes/com/ujy//.class]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching directory [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\com\ujy\controller] for files matching pattern [E:/idea/day08/out/artifacts/day08_war_exploded/WEB-INF/classes/com/ujy/**/.class]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching directory [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\com\ujy\conversion] for files matching pattern [E:/idea/day08/out/artifacts/day08_war_exploded/WEB-INF/classes/com/ujy//*.class]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching directory [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\com\ujy\mapper] for files matching pattern [E:/idea/day08/out/artifacts/day08_war_exploded/WEB-INF/classes/com/ujy//.class]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching directory [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\com\ujy\service] for files matching pattern [E:/idea/day08/out/artifacts/day08_war_exploded/WEB-INF/classes/com/ujy/**/.class]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Resolved location pattern [classpath*:com/ujy//.class] to resources [file [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\com\ujy\bean\CardBean.class], file [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\com\ujy\bean\PersonBean.class], file [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\com\ujy\controller\PersonController.class], file [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\com\ujy\conversion\DateConvert.class], file [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\com\ujy\conversion\StringConvert.class], file [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\com\ujy\mapper\CardMapper.class], file [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\com\ujy\mapper\PersonMapper.class], file [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\com\ujy\service\PersonService.class], file [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\com\ujy\service\PersonServiceImpl.class]]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Identified candidate component class: file [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\com\ujy\controller\PersonController.class]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Neither XML ‘id’ nor ‘name’ specified - using generated bean name [org.mybatis.spring.mapper.MapperScannerConfigurer#0]
INFO [RMI TCP Connection(3)-127.0.0.1] - Loading XML bean definitions from file [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\spring\bean_transaction.xml]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Using JAXP provider [com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Found XML schema [http://www.springframework.org/schema/beans/spring-beans-4.1.xsd] in classpath: org/springframework/beans/factory/xml/spring-beans-4.1.xsd
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Found XML schema [http://www.springframework.org/schema/tx/spring-tx-4.1.xsd] in classpath: org/springframework/transaction/config/spring-tx-4.1.xsd
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Found XML schema [http://www.springframework.org/schema/tool/spring-tool-4.1.xsd] in classpath: org/springframework/beans/factory/xml/spring-tool-4.1.xsd
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Found XML schema [http://www.springframework.org/schema/aop/spring-aop-4.1.xsd] in classpath: org/springframework/aop/config/spring-aop-4.1.xsd
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Loading bean definitions
DEBUG [RMI TCP Connection(3)-127.0.0.1] - No XML ‘id’ specified - using ‘tran’ as bean name and [] as aliases
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Loaded 14 bean definitions from location pattern [classpath:spring/bean_.xml]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Bean factory for Root WebApplicationContext: org.springframework.beans.factory.support.DefaultListableBeanFactory@bd5e36d: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,personController,org.springframework.context.support.PropertySourcesPlaceholderConfigurer#0,ds,sqlSessionFactory,org.mybatis.spring.mapper.MapperScannerConfigurer#0,tran,av,org.springframework.aop.config.internalAutoProxyCreator,pt,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0]; root of factory hierarchy
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating shared instance of singleton bean ‘org.springframework.context.annotation.internalConfigurationAnnotationProcessor’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating instance of bean ‘org.springframework.context.annotation.internalConfigurationAnnotationProcessor’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Eagerly caching bean ‘org.springframework.context.annotation.internalConfigurationAnnotationProcessor’ to allow for resolving potential circular references
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Finished creating instance of bean ‘org.springframework.context.annotation.internalConfigurationAnnotationProcessor’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating shared instance of singleton bean ‘org.mybatis.spring.mapper.MapperScannerConfigurer#0’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating instance of bean ‘org.mybatis.spring.mapper.MapperScannerConfigurer#0’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Eagerly caching bean ‘org.mybatis.spring.mapper.MapperScannerConfigurer#0’ to allow for resolving potential circular references
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Invoking afterPropertiesSet() on bean with name ‘org.mybatis.spring.mapper.MapperScannerConfigurer#0’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Finished creating instance of bean ‘org.mybatis.spring.mapper.MapperScannerConfigurer#0’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Adding [systemProperties] PropertySource with lowest search precedence
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Adding [systemEnvironment] PropertySource with lowest search precedence
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Looking for matching resources in directory tree [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\com\ujy\mapper]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching directory [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\com\ujy\mapper] for files matching pattern [E:/idea/day08/out/artifacts/day08_war_exploded/WEB-INF/classes/com/ujy/mapper//.class]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Resolved location pattern [classpath:com/ujy/mapper/**/.class] to resources [file [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\com\ujy\mapper\CardMapper.class], file [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\com\ujy\mapper\PersonMapper.class]]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Identified candidate component class: file [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\com\ujy\mapper\CardMapper.class]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Identified candidate component class: file [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\com\ujy\mapper\PersonMapper.class]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating MapperFactoryBean with name ‘cardMapper’ and ‘com.ujy.mapper.CardMapper’ mapperInterface
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Enabling autowire by type for MapperFactoryBean with name ‘cardMapper’.
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating MapperFactoryBean with name ‘personMapper’ and ‘com.ujy.mapper.PersonMapper’ mapperInterface
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Enabling autowire by type for MapperFactoryBean with name ‘personMapper’.
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating shared instance of singleton bean ‘org.springframework.context.support.PropertySourcesPlaceholderConfigurer#0’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating instance of bean ‘org.springframework.context.support.PropertySourcesPlaceholderConfigurer#0’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Eagerly caching bean ‘org.springframework.context.support.PropertySourcesPlaceholderConfigurer#0’ to allow for resolving potential circular references
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Finished creating instance of bean ‘org.springframework.context.support.PropertySourcesPlaceholderConfigurer#0’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Adding [environmentProperties] PropertySource with lowest search precedence
INFO [RMI TCP Connection(3)-127.0.0.1] - Loading properties file from class path resource [c3p0.properties]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Adding [localProperties] PropertySource with lowest search precedence
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching for key ‘c3p0.driverClass’ in [environmentProperties]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching for key ‘c3p0.driverClass’ in [servletConfigInitParams]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching for key ‘c3p0.driverClass’ in [servletContextInitParams]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching for key ‘c3p0.driverClass’ in [jndiProperties]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Looking up JNDI object with name [java:comp/env/c3p0.driverClass]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Converted JNDI name [java:comp/env/c3p0.driverClass] not found - trying original name [c3p0.driverClass]. javax.naming.NameNotFoundException: Name [c3p0.driverClass] is not bound in this Context. Unable to find [c3p0.driverClass].
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Looking up JNDI object with name [c3p0.driverClass]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - JNDI lookup for name [c3p0.driverClass] threw NamingException with message: Name [c3p0.driverClass] is not bound in this Context. Unable to find [c3p0.driverClass]… Returning null.
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching for key ‘c3p0.driverClass’ in [systemProperties]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching for key ‘c3p0.driverClass’ in [systemEnvironment]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Could not find key ‘c3p0.driverClass’ in any property source. Returning [null]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching for key ‘c3p0.driverClass’ in [localProperties]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Found key ‘c3p0.driverClass’ in [localProperties] with type [String] and value ‘com.mysql.jdbc.Driver’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching for key ‘c3p0.jdbcUrl’ in [environmentProperties]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching for key ‘c3p0.jdbcUrl’ in [servletConfigInitParams]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching for key ‘c3p0.jdbcUrl’ in [servletContextInitParams]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching for key ‘c3p0.jdbcUrl’ in [jndiProperties]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Looking up JNDI object with name [java:comp/env/c3p0.jdbcUrl]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Converted JNDI name [java:comp/env/c3p0.jdbcUrl] not found - trying original name [c3p0.jdbcUrl]. javax.naming.NameNotFoundException: Name [c3p0.jdbcUrl] is not bound in this Context. Unable to find [c3p0.jdbcUrl].
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Looking up JNDI object with name [c3p0.jdbcUrl]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - JNDI lookup for name [c3p0.jdbcUrl] threw NamingException with message: Name [c3p0.jdbcUrl] is not bound in this Context. Unable to find [c3p0.jdbcUrl]… Returning null.
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching for key ‘c3p0.jdbcUrl’ in [systemProperties]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching for key ‘c3p0.jdbcUrl’ in [systemEnvironment]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Could not find key ‘c3p0.jdbcUrl’ in any property source. Returning [null]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching for key ‘c3p0.jdbcUrl’ in [localProperties]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Found key ‘c3p0.jdbcUrl’ in [localProperties] with type [String] and value ‘jdbc:mysql://localhost:3306/3_day04?characterEncoding=utf-8’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching for key ‘c3p0.user’ in [environmentProperties]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching for key ‘c3p0.user’ in [servletConfigInitParams]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching for key ‘c3p0.user’ in [servletContextInitParams]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching for key ‘c3p0.user’ in [jndiProperties]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Looking up JNDI object with name [java:comp/env/c3p0.user]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Converted JNDI name [java:comp/env/c3p0.user] not found - trying original name [c3p0.user]. javax.naming.NameNotFoundException: Name [c3p0.user] is not bound in this Context. Unable to find [c3p0.user].
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Looking up JNDI object with name [c3p0.user]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - JNDI lookup for name [c3p0.user] threw NamingException with message: Name [c3p0.user] is not bound in this Context. Unable to find [c3p0.user]… Returning null.
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching for key ‘c3p0.user’ in [systemProperties]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching for key ‘c3p0.user’ in [systemEnvironment]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Could not find key ‘c3p0.user’ in any property source. Returning [null]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching for key ‘c3p0.user’ in [localProperties]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Found key ‘c3p0.user’ in [localProperties] with type [String] and value ‘root’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching for key ‘c3p0.password’ in [environmentProperties]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching for key ‘c3p0.password’ in [servletConfigInitParams]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching for key ‘c3p0.password’ in [servletContextInitParams]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching for key ‘c3p0.password’ in [jndiProperties]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Looking up JNDI object with name [java:comp/env/c3p0.password]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Converted JNDI name [java:comp/env/c3p0.password] not found - trying original name [c3p0.password]. javax.naming.NameNotFoundException: Name [c3p0.password] is not bound in this Context. Unable to find [c3p0.password].
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Looking up JNDI object with name [c3p0.password]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - JNDI lookup for name [c3p0.password] threw NamingException with message: Name [c3p0.password] is not bound in this Context. Unable to find [c3p0.password]… Returning null.
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching for key ‘c3p0.password’ in [systemProperties]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching for key ‘c3p0.password’ in [systemEnvironment]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Could not find key ‘c3p0.password’ in any property source. Returning [null]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching for key ‘c3p0.password’ in [localProperties]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Found key ‘c3p0.password’ in [localProperties] with type [String] and value ‘root’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating shared instance of singleton bean ‘org.springframework.context.annotation.internalAutowiredAnnotationProcessor’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating instance of bean ‘org.springframework.context.annotation.internalAutowiredAnnotationProcessor’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Eagerly caching bean ‘org.springframework.context.annotation.internalAutowiredAnnotationProcessor’ to allow for resolving potential circular references
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Finished creating instance of bean ‘org.springframework.context.annotation.internalAutowiredAnnotationProcessor’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating shared instance of singleton bean ‘org.springframework.context.annotation.internalRequiredAnnotationProcessor’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating instance of bean ‘org.springframework.context.annotation.internalRequiredAnnotationProcessor’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Eagerly caching bean ‘org.springframework.context.annotation.internalRequiredAnnotationProcessor’ to allow for resolving potential circular references
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Finished creating instance of bean ‘org.springframework.context.annotation.internalRequiredAnnotationProcessor’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating shared instance of singleton bean ‘org.springframework.context.annotation.internalCommonAnnotationProcessor’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating instance of bean ‘org.springframework.context.annotation.internalCommonAnnotationProcessor’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Eagerly caching bean ‘org.springframework.context.annotation.internalCommonAnnotationProcessor’ to allow for resolving potential circular references
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Finished creating instance of bean ‘org.springframework.context.annotation.internalCommonAnnotationProcessor’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating shared instance of singleton bean ‘org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating instance of bean ‘org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Eagerly caching bean ‘org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor’ to allow for resolving potential circular references
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Finished creating instance of bean ‘org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating shared instance of singleton bean ‘org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating instance of bean ‘org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Eagerly caching bean ‘org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor’ to allow for resolving potential circular references
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Finished creating instance of bean ‘org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating shared instance of singleton bean ‘org.springframework.aop.config.internalAutoProxyCreator’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating instance of bean ‘org.springframework.aop.config.internalAutoProxyCreator’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Eagerly caching bean ‘org.springframework.aop.config.internalAutoProxyCreator’ to allow for resolving potential circular references
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Finished creating instance of bean ‘org.springframework.aop.config.internalAutoProxyCreator’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Unable to locate MessageSource with name ‘messageSource’: using default [org.springframework.context.support.DelegatingMessageSource@19ec9a9f]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Unable to locate ApplicationEventMulticaster with name ‘applicationEventMulticaster’: using default [org.springframework.context.event.SimpleApplicationEventMulticaster@1d53d821]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Unable to locate ThemeSource with name ‘themeSource’: using default [org.springframework.ui.context.support.ResourceBundleThemeSource@45730aeb]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@bd5e36d: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,personController,org.springframework.context.support.PropertySourcesPlaceholderConfigurer#0,ds,sqlSessionFactory,org.mybatis.spring.mapper.MapperScannerConfigurer#0,tran,av,org.springframework.aop.config.internalAutoProxyCreator,pt,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor,cardMapper,personMapper]; root of factory hierarchy
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Returning cached instance of singleton bean ‘org.springframework.context.annotation.internalConfigurationAnnotationProcessor’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Returning cached instance of singleton bean ‘org.springframework.context.annotation.internalAutowiredAnnotationProcessor’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Returning cached instance of singleton bean ‘org.springframework.context.annotation.internalRequiredAnnotationProcessor’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Returning cached instance of singleton bean ‘org.springframework.context.annotation.internalCommonAnnotationProcessor’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating shared instance of singleton bean ‘personController’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating instance of bean ‘personController’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating shared instance of singleton bean ‘org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating instance of bean ‘org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Eagerly caching bean ‘org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0’ to allow for resolving potential circular references
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating instance of bean ‘pt’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Finished creating instance of bean ‘pt’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Finished creating instance of bean ‘org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Registered injected element on class [com.ujy.controller.PersonController]: ResourceElement for com.ujy.service.PersonService com.ujy.controller.PersonController.service
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Eagerly caching bean ‘personController’ to allow for resolving potential circular references
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Processing injected method of bean ‘personController’: ResourceElement for com.ujy.service.PersonService com.ujy.controller.PersonController.service
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Returning cached instance of singleton bean ‘org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Logging initialized using ‘class org.apache.ibatis.logging.slf4j.Slf4jImpl’ adapter.
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Returning cached instance of singleton bean ‘org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating shared instance of singleton bean ‘cardMapper’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating instance of bean ‘cardMapper’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Eagerly caching bean ‘cardMapper’ to allow for resolving potential circular references
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Returning cached instance of singleton bean ‘org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Returning cached instance of singleton bean ‘org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Returning eagerly cached instance of singleton bean ‘cardMapper’ that is not fully initialized yet - a consequence of a circular reference
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Returning cached instance of singleton bean ‘org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating shared instance of singleton bean ‘personMapper’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating instance of bean ‘personMapper’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Eagerly caching bean ‘personMapper’ to allow for resolving potential circular references
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Returning cached instance of singleton bean ‘org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Returning cached instance of singleton bean ‘org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Returning eagerly cached instance of singleton bean ‘personMapper’ that is not fully initialized yet - a consequence of a circular reference
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating shared instance of singleton bean ‘sqlSessionFactory’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating instance of bean ‘sqlSessionFactory’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Eagerly caching bean ‘sqlSessionFactory’ to allow for resolving potential circular references
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating shared instance of singleton bean ‘ds’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Creating instance of bean ‘ds’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Returning cached instance of singleton bean ‘org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0’
INFO [RMI TCP Connection(3)-127.0.0.1] - MLog clients using log4j logging.
INFO [RMI TCP Connection(3)-127.0.0.1] - Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - MBean: com.mchange.v2.c3p0:type=PooledDataSource[2sajh7a51mr702pww73uy|3d1e7f7c] registered.
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Eagerly caching bean ‘ds’ to allow for resolving potential circular references
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Returning cached instance of singleton bean ‘org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Returning cached instance of singleton bean ‘org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Finished creating instance of bean ‘ds’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Looking for matching resources in directory tree [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\mybatis\mapper]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Searching directory [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\mybatis\mapper] for files matching pattern [E:/idea/day08/out/artifacts/day08_war_exploded/WEB-INF/classes/mybatis/mapper/.xml]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Resolved location pattern [classpath:mybatis/mapper/*.xml] to resources [file [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\mybatis\mapper\CardMapper.xml], file [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\mybatis\mapper\PersonMapper.xml]]
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Invoking afterPropertiesSet() on bean with name ‘sqlSessionFactory’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Parsed configuration file: ‘class path resource [mybatis/Mybatis-conf.xml]’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Parsed mapper file: ‘file [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\mybatis\mapper\CardMapper.xml]’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Parsed mapper file: ‘file [E:\idea\day08\out\artifacts\day08_war_exploded\WEB-INF\classes\mybatis\mapper\PersonMapper.xml]’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Returning cached instance of singleton bean ‘org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Returning cached instance of singleton bean ‘org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Finished creating instance of bean ‘sqlSessionFactory’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Returning cached instance of singleton bean ‘org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Returning cached instance of singleton bean ‘org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Autowiring by type from bean name ‘personMapper’ via property ‘sqlSessionFactory’ to bean named ‘sqlSessionFactory’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Invoking afterPropertiesSet() on bean with name ‘personMapper’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Finished creating instance of bean ‘personMapper’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Returning cached instance of singleton bean ‘sqlSessionFactory’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Autowiring by type from bean name ‘cardMapper’ via property ‘sqlSessionFactory’ to bean named ‘sqlSessionFactory’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Invoking afterPropertiesSet() on bean with name ‘cardMapper’
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Finished creating instance of bean ‘cardMapper’
WARN [RMI TCP Connection(3)-127.0.0.1] - Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘personController’: Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.ujy.service.PersonService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.annotation.Resource(shareable=true, lookup=, name=, description=, authenticationType=CONTAINER, type=class java.lang.Object, mappedName=)}
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:308)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1202)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:762)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1740)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:618)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:565)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:468)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
at javax.management.remote.rmi.RMIConnectionImpl.access 300 ( R M I C o n n e c t i o n I m p l . j a v a : 76 ) a t j a v a x . m a n a g e m e n t . r e m o t e . r m i . R M I C o n n e c t i o n I m p l 300(RMIConnectionImpl.java:76) at javax.management.remote.rmi.RMIConnectionImpl 300(RMIConnectionImpl.java:76)atjavax.management.remote.rmi.RMIConnectionImplPrivilegedOperation.run(RMIConnectionImpl.java:1309)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1408)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport 1. r u n ( T r a n s p o r t . j a v a : 197 ) a t j a v a . s e c u r i t y . A c c e s s C o n t r o l l e r . d o P r i v i l e g e d ( N a t i v e M e t h o d ) a t s u n . r m i . t r a n s p o r t . T r a n s p o r t . s e r v i c e C a l l ( T r a n s p o r t . j a v a : 196 ) a t s u n . r m i . t r a n s p o r t . t c p . T C P T r a n s p o r t . h a n d l e M e s s a g e s ( T C P T r a n s p o r t . j a v a : 568 ) a t s u n . r m i . t r a n s p o r t . t c p . T C P T r a n s p o r t 1.run(Transport.java:197) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:196) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568) at sun.rmi.transport.tcp.TCPTransport 1.run(Transport.java:197)atjava.security.AccessController.doPrivileged(NativeMethod)atsun.rmi.transport.Transport.serviceCall(Transport.java:196)atsun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)atsun.rmi.transport.tcp.TCPTransportConnectionHandler.run0(TCPTransport.java:826)
at sun.rmi.transport.tcp.TCPTransport C o n n e c t i o n H a n d l e r . l a m b d a ConnectionHandler.lambda ConnectionHandler.lambdarun 0 ( T C P T r a n s p o r t . j a v a : 683 ) a t j a v a . s e c u r i t y . A c c e s s C o n t r o l l e r . d o P r i v i l e g e d ( N a t i v e M e t h o d ) a t s u n . r m i . t r a n s p o r t . t c p . T C P T r a n s p o r t 0(TCPTransport.java:683) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.tcp.TCPTransport 0(TCPTransport.java:683)atjava.security.AccessController.doPrivileged(NativeMethod)atsun.rmi.transport.tcp.TCPTransportConnectionHandler.run(TCPTransport.java:682)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor W o r k e r . r u n ( T h r e a d P o o l E x e c u t o r . j a v a : 624 ) a t j a v a . l a n g . T h r e a d . r u n ( T h r e a d . j a v a : 748 ) C a u s e d b y : o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . N o S u c h B e a n D e f i n i t i o n E x c e p t i o n : N o q u a l i f y i n g b e a n o f t y p e [ c o m . u j y . s e r v i c e . P e r s o n S e r v i c e ] f o u n d f o r d e p e n d e n c y : e x p e c t e d a t l e a s t 1 b e a n w h i c h q u a l i f i e s a s a u t o w i r e c a n d i d a t e f o r t h i s d e p e n d e n c y . D e p e n d e n c y a n n o t a t i o n s : @ j a v a x . a n n o t a t i o n . R e s o u r c e ( s h a r e a b l e = t r u e , l o o k u p = , n a m e = , d e s c r i p t i o n = , a u t h e n t i c a t i o n T y p e = C O N T A I N E R , t y p e = c l a s s j a v a . l a n g . O b j e c t , m a p p e d N a m e = ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . D e f a u l t L i s t a b l e B e a n F a c t o r y . r a i s e N o S u c h B e a n D e f i n i t i o n E x c e p t i o n ( D e f a u l t L i s t a b l e B e a n F a c t o r y . j a v a : 1308 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . D e f a u l t L i s t a b l e B e a n F a c t o r y . d o R e s o l v e D e p e n d e n c y ( D e f a u l t L i s t a b l e B e a n F a c t o r y . j a v a : 1054 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . D e f a u l t L i s t a b l e B e a n F a c t o r y . r e s o l v e D e p e n d e n c y ( D e f a u l t L i s t a b l e B e a n F a c t o r y . j a v a : 949 ) a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . a n n o t a t i o n . C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r . a u t o w i r e R e s o u r c e ( C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r . j a v a : 454 ) a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . a n n o t a t i o n . C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r . g e t R e s o u r c e ( C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r . j a v a : 432 ) a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . a n n o t a t i o n . C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.ujy.service.PersonService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.annotation.Resource(shareable=true, lookup=, name=, description=, authenticationType=CONTAINER, type=class java.lang.Object, mappedName=)} at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1308) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1054) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:949) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:454) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:432) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor Worker.run(ThreadPoolExecutor.java:624)atjava.lang.Thread.run(Thread.java:748)Causedby:org.springframework.beans.factory.NoSuchBeanDefinitionException:Noqualifyingbeanoftype[com.ujy.service.PersonService]foundfordependency:expectedatleast1beanwhichqualifiesasautowirecandidateforthisdependency.Dependencyannotations:@javax.annotation.Resource(shareable=true,lookup=,name=,description=,authenticationType=CONTAINER,type=classjava.lang.Object,mappedName=)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1308)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1054)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:949)atorg.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:454)atorg.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:432)atorg.springframework.context.annotation.CommonAnnotationBeanPostProcessorResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:556)
at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:155)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:305)
… 60 more
DEBUG [RMI TCP Connection(3)-127.0.0.1] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@bd5e36d: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,personController,org.springframework.context.support.PropertySourcesPlaceholderConfigurer#0,ds,sqlSessionFactory,org.mybatis.spring.mapper.MapperScannerConfigurer#0,tran,av,org.springframework.aop.config.internalAutoProxyCreator,pt,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor,cardMapper,personMapper]; root of factory hierarchy
ERROR [RMI TCP Connection(3)-127.0.0.1] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘personController’: Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.ujy.service.PersonService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.annotation.Resource(shareable=true, lookup=, name=, description=, authenticationType=CONTAINER, type=class java.lang.Object, mappedName=)}
十月 16, 2019 4:49:37 下午 org.apache.catalina.core.StandardContext startInternal
严重: Error listenerStart
十月 16, 2019 4:49:37 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/day08] startup failed due to previous errors
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:308)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1202)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:762)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1740)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:618)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:565)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:468)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
at javax.management.remote.rmi.RMIConnectionImpl.access 300 ( R M I C o n n e c t i o n I m p l . j a v a : 76 ) a t j a v a x . m a n a g e m e n t . r e m o t e . r m i . R M I C o n n e c t i o n I m p l 300(RMIConnectionImpl.java:76) at javax.management.remote.rmi.RMIConnectionImpl 300(RMIConnectionImpl.java:76)atjavax.management.remote.rmi.RMIConnectionImplPrivilegedOperation.run(RMIConnectionImpl.java:1309)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1408)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport 1. r u n ( T r a n s p o r t . j a v a : 197 ) a t j a v a . s e c u r i t y . A c c e s s C o n t r o l l e r . d o P r i v i l e g e d ( N a t i v e M e t h o d ) a t s u n . r m i . t r a n s p o r t . T r a n s p o r t . s e r v i c e C a l l ( T r a n s p o r t . j a v a : 196 ) a t s u n . r m i . t r a n s p o r t . t c p . T C P T r a n s p o r t . h a n d l e M e s s a g e s ( T C P T r a n s p o r t . j a v a : 568 ) a t s u n . r m i . t r a n s p o r t . t c p . T C P T r a n s p o r t 1.run(Transport.java:197) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:196) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568) at sun.rmi.transport.tcp.TCPTransport 1.run(Transport.java:197)atjava.security.AccessController.doPrivileged(NativeMethod)atsun.rmi.transport.Transport.serviceCall(Transport.java:196)atsun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)atsun.rmi.transport.tcp.TCPTransportConnectionHandler.run0(TCPTransport.java:826)
at sun.rmi.transport.tcp.TCPTransport C o n n e c t i o n H a n d l e r . l a m b d a ConnectionHandler.lambda ConnectionHandler.lambdarun 0 ( T C P T r a n s p o r t . j a v a : 683 ) a t j a v a . s e c u r i t y . A c c e s s C o n t r o l l e r . d o P r i v i l e g e d ( N a t i v e M e t h o d ) a t s u n . r m i . t r a n s p o r t . t c p . T C P T r a n s p o r t 0(TCPTransport.java:683) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.tcp.TCPTransport 0(TCPTransport.java:683)atjava.security.AccessController.doPrivileged(NativeMethod)atsun.rmi.transport.tcp.TCPTransportConnectionHandler.run(TCPTransport.java:682)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor W o r k e r . r u n ( T h r e a d P o o l E x e c u t o r . j a v a : 624 ) a t j a v a . l a n g . T h r e a d . r u n ( T h r e a d . j a v a : 748 ) C a u s e d b y : o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . N o S u c h B e a n D e f i n i t i o n E x c e p t i o n : N o q u a l i f y i n g b e a n o f t y p e [ c o m . u j y . s e r v i c e . P e r s o n S e r v i c e ] f o u n d f o r d e p e n d e n c y : e x p e c t e d a t l e a s t 1 b e a n w h i c h q u a l i f i e s a s a u t o w i r e c a n d i d a t e f o r t h i s d e p e n d e n c y . D e p e n d e n c y a n n o t a t i o n s : @ j a v a x . a n n o t a t i o n . R e s o u r c e ( s h a r e a b l e = t r u e , l o o k u p = , n a m e = , d e s c r i p t i o n = , a u t h e n t i c a t i o n T y p e = C O N T A I N E R , t y p e = c l a s s j a v a . l a n g . O b j e c t , m a p p e d N a m e = ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . D e f a u l t L i s t a b l e B e a n F a c t o r y . r a i s e N o S u c h B e a n D e f i n i t i o n E x c e p t i o n ( D e f a u l t L i s t a b l e B e a n F a c t o r y . j a v a : 1308 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . D e f a u l t L i s t a b l e B e a n F a c t o r y . d o R e s o l v e D e p e n d e n c y ( D e f a u l t L i s t a b l e B e a n F a c t o r y . j a v a : 1054 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . D e f a u l t L i s t a b l e B e a n F a c t o r y . r e s o l v e D e p e n d e n c y ( D e f a u l t L i s t a b l e B e a n F a c t o r y . j a v a : 949 ) a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . a n n o t a t i o n . C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r . a u t o w i r e R e s o u r c e ( C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r . j a v a : 454 ) a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . a n n o t a t i o n . C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r . g e t R e s o u r c e ( C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r . j a v a : 432 ) a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . a n n o t a t i o n . C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.ujy.service.PersonService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.annotation.Resource(shareable=true, lookup=, name=, description=, authenticationType=CONTAINER, type=class java.lang.Object, mappedName=)} at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1308) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1054) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:949) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:454) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:432) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor Worker.run(ThreadPoolExecutor.java:624)atjava.lang.Thread.run(Thread.java:748)Causedby:org.springframework.beans.factory.NoSuchBeanDefinitionException:Noqualifyingbeanoftype[com.ujy.service.PersonService]foundfordependency:expectedatleast1beanwhichqualifiesasautowirecandidateforthisdependency.Dependencyannotations:@javax.annotation.Resource(shareable=true,lookup=,name=,description=,authenticationType=CONTAINER,type=classjava.lang.Object,mappedName=)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1308)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1054)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:949)atorg.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:454)atorg.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:432)atorg.springframework.context.annotation.CommonAnnotationBeanPostProcessorResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:556)
at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:155)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:305)
… 60 more
[2019-10-16 04:49:38,023] Artifact day08:war exploded: Error during artifact deployment. See server log for details.
十月 16, 2019 4:49:42 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory E:\apache-tomcat-7.0.52\webapps\manager
1.首先Artifact day08:war exploded: Error during artifact deployment. See server log for details.说明tomcat没有跑起来所以往上看,会看到 No qualifying bean of type [com.ujy.service.PersonService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.annotation.Resource(shareable=true, lookup=, name=, description=, authenticationType=CONTAINER, type=class java.lang.Object, mappedName=)}注册驱动扫描之后,发现service层中少写了这个@service,那么在扫描的时候,这个service实现没有扫描这一项,所以加上,错误迎刃而解。
2.而在其他人出现的问题中,我还发现,resource这个存放XML文件的包,有人写成了第三个,而两者图标是一样的,所以也会出这个错误。