2019-04-23 23:14:25.236 DEBUG 9108 --- [ main] org.apache.tomcat.util.modeler.Registry : Managed= Tomcat:j2eeType=Filter,WebModule=//localhost/,name=characterEncodingFilter,J2EEApplication=none,J2EEServer=none
2019-04-23 23:14:25.237 DEBUG 9108 --- [ main] o.a.tomcat.util.modeler.BaseModelMBean : preRegister ApplicationFilterConfig[name=characterEncodingFilter, filterClass=org.springframework.boot.web.servlet.filter.OrderedCharacterEncodingFilter] Tomcat:j2eeType=Filter,WebModule=//localhost/,name=characterEncodingFilter,J2EEApplication=none,J2EEServer=none
2019-04-23 23:14:25.237 DEBUG 9108 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Starting filter 'formContentFilter'
2019-04-23 23:14:25.237 DEBUG 9108 --- [ main] o.s.b.w.s.f.OrderedFormContentFilter : Filter 'formContentFilter' configured for use
2019-04-23 23:14:25.237 DEBUG 9108 --- [ main] org.apache.tomcat.util.modeler.Registry : Managed= Tomcat:j2eeType=Filter,WebModule=//localhost/,name=formContentFilter,J2EEApplication=none,J2EEServer=none
2019-04-23 23:14:25.237 DEBUG 9108 --- [ main] o.a.tomcat.util.modeler.BaseModelMBean : preRegister ApplicationFilterConfig[name=formContentFilter, filterClass=org.springframework.boot.web.servlet.filter.OrderedFormContentFilter] Tomcat:j2eeType=Filter,WebModule=//localhost/,name=formContentFilter,J2EEApplication=none,J2EEServer=none
2019-04-23 23:14:25.237 DEBUG 9108 --- [ main] o.apache.catalina.core.StandardContext : Starting completed
2019-04-23 23:14:25.237 DEBUG 9108 --- [ main] org.apache.tomcat.util.modeler.Registry : Managed= Tomcat:type=Valve,host=localhost,name=ErrorReportValve
2019-04-23 23:14:25.237 DEBUG 9108 --- [ main] o.a.tomcat.util.modeler.BaseModelMBean : preRegister ErrorReportValve[StandardEngine[Tomcat].StandardHost[localhost]] Tomcat:type=Valve,host=localhost,name=ErrorReportValve
2019-04-23 23:14:25.237 DEBUG 9108 --- [ main] org.apache.tomcat.util.modeler.Registry : Managed= Tomcat:type=Valve,host=localhost,name=StandardHostValve
2019-04-23 23:14:25.238 DEBUG 9108 --- [ main] o.a.tomcat.util.modeler.BaseModelMBean : preRegister StandardHostValve[StandardEngine[Tomcat].StandardHost[localhost]] Tomcat:type=Valve,host=localhost,name=StandardHostValve
2019-04-23 23:14:25.238 DEBUG 9108 --- [ main] org.apache.tomcat.util.modeler.Registry : Managed= Tomcat:type=Valve,name=StandardEngineValve
2019-04-23 23:14:25.238 DEBUG 9108 --- [ main] o.a.tomcat.util.modeler.BaseModelMBean : preRegister StandardEngineValve[StandardEngine[Tomcat]] Tomcat:type=Valve,name=StandardEngineValve
2019-04-23 23:14:25.242 DEBUG 9108 --- [ main] org.apache.catalina.mapper.Mapper : Registered host [localhost]
2019-04-23 23:14:25.242 DEBUG 9108 --- [ main] o.apache.catalina.mapper.MapperListener : Register Wrapper [default] in Context [] for service [StandardService[Tomcat]]
2019-04-23 23:14:25.243 DEBUG 9108 --- [ main] o.apache.catalina.mapper.MapperListener : Register Wrapper [dispatcherServlet] in Context [] for service [StandardService[Tomcat]]
2019-04-23 23:14:25.243 DEBUG 9108 --- [ main] o.apache.catalina.mapper.MapperListener : Register Context [] for service [StandardService[Tomcat]]
2019-04-23 23:14:25.243 DEBUG 9108 --- [ main] o.apache.catalina.mapper.MapperListener : Register host [localhost] at domain [null] for service [StandardService[Tomcat]]
2019-04-23 23:14:25.249 DEBUG 9108 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Creating shared instance of singleton bean 'demo2Application'
2019-04-23 23:14:25.249 DEBUG 9108 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Creating shared instance of singleton bean 'houseInfoController'
2019-04-23 23:14:25.251 DEBUG 9108 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Creating shared instance of singleton bean 'houseInfoServiceImpl'
2019-04-23 23:14:25.252 DEBUG 9108 --- [on(1)-127.0.0.1] sun.rmi.transport.tcp : RMI TCP Connection(1)-127.0.0.1: (port 50763) op = 82
2019-04-23 23:14:25.252 DEBUG 9108 --- [on(1)-127.0.0.1] sun.rmi.transport.tcp : RMI TCP Connection(1)-127.0.0.1: (port 50763) op = 80
2019-04-23 23:14:25.253 DEBUG 9108 --- [on(1)-127.0.0.1] sun.rmi.transport.tcp : RMI TCP Connection(1)-127.0.0.1: (port 50763) op = 82
2019-04-23 23:14:25.253 DEBUG 9108 --- [on(1)-127.0.0.1] sun.rmi.transport.tcp : RMI TCP Connection(1)-127.0.0.1: (port 50763) op = 84
2019-04-23 23:14:25.253 DEBUG 9108 --- [on(4)-127.0.0.1] sun.rmi.transport.tcp : RMI TCP Connection(4)-127.0.0.1: (port 50770) op = 82
2019-04-23 23:14:25.253 DEBUG 9108 --- [on(4)-127.0.0.1] sun.rmi.transport.tcp : RMI TCP Connection(4)-127.0.0.1: (port 50770) op = 80
2019-04-23 23:14:25.255 DEBUG 9108 --- [on(4)-127.0.0.1] sun.rmi.transport.tcp : RMI TCP Connection(4)-127.0.0.1: (port 50770) op = 82
2019-04-23 23:14:25.255 DEBUG 9108 --- [on(4)-127.0.0.1] sun.rmi.transport.tcp : RMI TCP Connection(4)-127.0.0.1: (port 50770) op = 80
2019-04-23 23:14:25.255 DEBUG 9108 --- [on(4)-127.0.0.1] sun.rmi.loader : RMI TCP Connection(4)-127.0.0.1: name = "[Ljava.rmi.server.ObjID;", codebase = ""
2019-04-23 23:14:25.256 DEBUG 9108 --- [on(4)-127.0.0.1] sun.rmi.loader : RMI TCP Connection(4)-127.0.0.1: name = "java.rmi.server.ObjID", codebase = ""
2019-04-23 23:14:25.256 DEBUG 9108 --- [on(4)-127.0.0.1] sun.rmi.loader : RMI TCP Connection(4)-127.0.0.1: name = "java.rmi.server.UID", codebase = ""
2019-04-23 23:14:25.256 DEBUG 9108 --- [on(4)-127.0.0.1] sun.rmi.loader : RMI TCP Connection(4)-127.0.0.1: name = "java.rmi.dgc.Lease", codebase = ""
2019-04-23 23:14:25.256 DEBUG 9108 --- [on(4)-127.0.0.1] sun.rmi.loader : RMI TCP Connection(4)-127.0.0.1: name = "java.rmi.dgc.VMID", codebase = ""
2019-04-23 23:14:25.256 DEBUG 9108 --- [on(4)-127.0.0.1] sun.rmi.loader : RMI TCP Connection(4)-127.0.0.1: name = "[B", codebase = ""
2019-04-23 23:14:25.256 DEBUG 9108 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Creating shared instance of singleton bean 'houseInfoMapper'
2019-04-23 23:14:25.256 DEBUG 9108 --- [on(4)-127.0.0.1] sun.rmi.transport.tcp : RMI TCP Connection(4)-127.0.0.1: (port 50770) op = 82
2019-04-23 23:14:25.257 DEBUG 9108 --- [on(4)-127.0.0.1] sun.rmi.transport.tcp : RMI TCP Connection(4)-127.0.0.1: (port 50770) op = 84
2019-04-23 23:14:25.260 DEBUG 9108 --- [on(4)-127.0.0.1] sun.rmi.transport.tcp : RMI TCP Connection(4)-127.0.0.1: (port 50770) op = 82
2019-04-23 23:14:25.260 DEBUG 9108 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Creating shared instance of singleton bean 'sqlSessionFactory'
2019-04-23 23:14:25.260 DEBUG 9108 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Creating shared instance of singleton bean 'com.baomidou.mybatisplus.spring.boot.starter.MybatisPlusAutoConfiguration'
2019-04-23 23:14:25.261 DEBUG 9108 --- [ main] ocalVariableTableParameterNameDiscoverer : Cannot find '.class' file for class [class com.baomidou.mybatisplus.spring.boot.starter.MybatisPlusAutoConfiguration$$EnhancerBySpringCGLIB$$1cb5275e] - unable to determine constructor/method parameter names
2019-04-23 23:14:25.261 DEBUG 9108 --- [on(4)-127.0.0.1] sun.rmi.transport.tcp : RMI TCP Connection(4)-127.0.0.1: (port 50770) op = 80
2019-04-23 23:14:25.261 DEBUG 9108 --- [on(4)-127.0.0.1] sun.rmi.transport.tcp : RMI TCP Connection(4)-127.0.0.1: (port 50770) op = 80
2019-04-23 23:14:25.262 DEBUG 9108 --- [on(4)-127.0.0.1] sun.rmi.loader : RMI TCP Connection(4)-127.0.0.1: name = "javax.management.ObjectName", codebase = ""
2019-04-23 23:14:25.262 DEBUG 9108 --- [on(4)-127.0.0.1] sun.rmi.server.call : RMI TCP Connection(4)-127.0.0.1: [127.0.0.1] exception:
javax.management.InstanceNotFoundException: org.springframework.boot:type=Admin,name=SpringApplication
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1095) ~[na:1.8.0_121]
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:643) ~[na:1.8.0_121]
at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:678) ~[na:1.8.0_121]
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1445) ~[na:1.8.0_121]
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76) ~[na:1.8.0_121]
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309) ~[na:1.8.0_121]
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401) ~[na:1.8.0_121]
at javax.management.remote.rmi.RMIConnectionImpl.getAttribute(RMIConnectionImpl.java:639) ~[na:1.8.0_121]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_121]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_121]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_121]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_121]
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:346) ~[na:1.8.0_121]
at sun.rmi.transport.Transport$1.run(Transport.java:200) [na:1.8.0_121]
at sun.rmi.transport.Transport$1.run(Transport.java:197) [na:1.8.0_121]
at java.security.AccessController.doPrivileged(Native Method) [na:1.8.0_121]
at sun.rmi.transport.Transport.serviceCall(Transport.java:196) [na:1.8.0_121]
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568) [na:1.8.0_121]
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826) [na:1.8.0_121]
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683) [na:1.8.0_121]
at java.security.AccessController.doPrivileged(Native Method) [na:1.8.0_121]
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682) [na:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[na:1.8.0_121]
at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_121]
原因:没有加载配置文件。
解决方案:
2.