You can introduce this configuration in your spring configuration file as follows:
// db.properties 写对应的相对路径
<context:property-placeholder location="classpath:db.properties" ignore-unresolvable="true"/>
< div class = "aw - list - img >
mysql.driver=com.mysql.cj.jdbc.Driver
mysql.url=jdbc:mysql://localhost:3306/mybatis?serverTimezone=UTC&\
characterEncoding=utf8&useUnicode=true&useSSL=false allowPublicKeyRetrieval=true
mysql.username=root
mysql.password=root
Try to inject language or import
but it doesn't work
I don't know which SQL language to use
0 Answer
You can introduce this configuration in your spring configuration file as follows:
// db.properties 写对应的相对路径
<context:property-placeholder location="classpath:db.properties" ignore-unresolvable="true"/>
my is maven this I am just learning < br / > thank you all the same.
You should post the relevant error information, so that you can find the problem, which part of the error?
spring is a convention over configuration, install spring convention custom configuration to try, try not to define the way
This is a warning. There should be no problem. See if the program works.
thank you, my major is another problem, program cannot run
这家伙很懒,什么都没留下...