java.lang.annotation.AnnotationFormatError: Invalid default: public abstract java.lang.Class tk.mybatis.spring.annotation.MapperScan.factoryBean()java.lang.annotation.AnnotationFormatError: Invalid default: public abstract java.lang.Class tk.mybatis.spring.annotation.MapperScan.factoryBean()
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>1.3.1</version>
</dependency>
由于我项目中只引入了tk.Mapper,但tk.mapper是需要mybatis的
- 问题待解决
2019-12-24 18:16:17.306 DEBUG 10448 --- [3)-192.168.56.1] sun.rmi.loader : RMI TCP Connection(3)-192.168.56.1: name = "javax.management.ObjectName", codebase = ""
2019-12-24 18:16:17.306 DEBUG 10448 --- [3)-192.168.56.1] sun.rmi.loader : RMI TCP Connection(3)-192.168.56.1: name = "java.rmi.MarshalledObject", codebase = ""
2019-12-24 18:16:17.306 DEBUG 10448 --- [3)-192.168.56.1] sun.rmi.loader : RMI TCP Connection(3)-192.168.56.1: name = "[B", codebase = ""
2019-12-24 18:16:17.306 DEBUG 10448 --- [3)-192.168.56.1] sun.rmi.loader : RMI TCP Connection(3)-192.168.56.1: name = "[Ljava.lang.String;", codebase = ""
2019-12-24 18:16:17.307 DEBUG 10448 --- [3)-192.168.56.1] sun.rmi.loader : RMI TCP Connection(3)-192.168.56.1: name = "[Ljava.lang.String;", codebase = ""
2019-12-24 18:16:17.307 DEBUG 10448 --- [3)-192.168.56.1] o.s.c.e.PropertySourcesPropertyResolver : Could not find key 'SERVER.address' in any property source
2019-12-24 18:16:17.308 DEBUG 10448 --- [3)-192.168.56.1] sun.rmi.transport.tcp : RMI TCP Connection(3)-192.168.56.1: (port 52972) op = 80
2019-12-24 18:16:17.308 DEBUG 10448 --- [3)-192.168.56.1] sun.rmi.loader : RMI TCP Connection(3)-192.168.56.1: name = "javax.management.ObjectName", codebase = ""
2019-12-24 18:16:17.308 DEBUG 10448 --- [3)-192.168.56.1] sun.rmi.loader : RMI TCP Connection(3)-192.168.56.1: name = "java.rmi.MarshalledObject", codebase = ""
2019-12-24 18:16:17.309 DEBUG 10448 --- [3)-192.168.56.1] sun.rmi.loader : RMI TCP Connection(3)-192.168.56.1: name = "[B", codebase = ""
2019-12-24 18:16:17.309 DEBUG 10448 --- [3)-192.168.56.1] sun.rmi.loader : RMI TCP Connection(3)-192.168.56.1: name = "[Ljava.lang.String;", codebase = ""
2019-12-24 18:16:17.309 DEBUG 10448 --- [3)-192.168.56.1] sun.rmi.loader : RMI TCP Connection(3)-192.168.56.1: name = "[Ljava.lang.String;", codebase = ""
2019-12-24 18:16:17.309 DEBUG 10448 --- [3)-192.168.56.1] o.s.c.e.PropertySourcesPropertyResolver : Could not find key 'SERVER_address' in any property source
2019-12-24 18:16:17.310 DEBUG 10448 --- [3)-192.168.56.1] sun.rmi.transport.tcp : RMI TCP Connection(3)-192.168.56.1: (port 52972) op = 80
2019-12-24 18:16:31.464 DEBUG 10448 --- [1)-192.168.56.1] sun.rmi.transport.tcp : RMI TCP Connection(1)-192.168.56.1: (port 52972) connection closed
2019-12-24 18:16:31.464 DEBUG 10448 --- [1)-192.168.56.1] sun.rmi.transport.tcp : RMI TCP Connection(1)-192.168.56.1: close connection
2019-12-24 18:16:46.467 DEBUG 10448 --- [3)-192.168.56.1] sun.rmi.transport.tcp : RMI TCP Connection(3)-192.168.56.1: (port 52972) connection closed
2019-12-24 18:16:46.467 DEBUG 10448 --- [3)-192.168.56.1] sun.rmi.transport.tcp : RMI TCP Connection(3)-192.168.56.1: close connection
2019-12-24 18:16:46.467 DEBUG 10448 --- [2)-192.168.56.1] sun.rmi.transport.tcp : RMI TCP Connection(2)-192.168.56.1: (port 52972) connection closed
2019-12-24 18:16:46.467 DEBUG 10448 --- [2)-192.168.56.1] sun.rmi.transport.tcp : RMI TCP Connection(2)-192.168.56.1: close connection
来源:CSDN
作者:千篇不一律
链接:https://blog.csdn.net/qq_41063141/article/details/103687358