1、Unresolved compilation problems:解决办法
最简单直接的办法就是删除tomcat服务器,重新添加![](https://i-blog.csdnimg.cn/blog_migrate/9bfdcfe77bcda036c779a7d050a4f991.jpeg)
![](https://i-blog.csdnimg.cn/blog_migrate/b08ee1ff6db61ca306902db66a4d42a6.jpeg)
2、如果win7上的mysql好好的无法启动了,可以试试这样
如果报错:ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES)
首先修改mysql配置文件my.int(mysql安装位置),找一行添加skip-grant-tables并保存,然后如下图
三、mysql5.7.24安装
1、解压之后,配置环境变量,MYSQL_HOME 和path
2、在和bin平级处新建my.ini文件,内容如下
[mysqld]
port = 3306
basedir=D:/SoftWare/mysql/mysql-5.7.24-winx64
datadir=D:/SoftWare/mysql/mysql-5.7.24-winx64/data
max_connections=200
character-set-server=utf8
default-storage-engine=INNODB
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
[mysql]
default-character-set=utf8
3、cd bin目录下执行命令:mysqld -install安装
mysqld --initialize-insecure --user=mysql命令初始化
执行net start mysql命令启动MySQL
启动成功,执行"mysqladmin -u root -p password root"命令设置密码,root旧密码为空,直接回车就可以。
最后mysql -uroot -proot登录即可
apollo
1、eureka地址改为自己公司地址
需要该2个地方,第一修改com.ctrip.framework.apollo.configservice.ConfigServiceApplication,把@EnableEurekaServer
改为@EnableEurekaClient,第二
修改ApolloConfigDB.ServerConfig表中的eureka.service.url
,指向自己的Eureka地址,多个地址用逗号隔开。