我的第一次服务器搭建

来源:互联网 发布:美国历史人物 知乎 编辑:程序博客网 时间:2024/05/29 07:43

1、maven 发布war :No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

解决方案:
在eclipse的菜单中,进入 Window > Preferences > Java > Installed JREs > Execution Environments,选择JavaSE-1.7, 在右侧选择jdk1.7

然后在maven菜单中使用 “update project ...”.


2、解决Error(1133): Can’t find any matching row in the user table

原因:数据库没有设置远程登录  cmd进入mysql   输入grant all PRIVILEGES on mytest.* to root@'%'  identified by 'zxc123456';FLUSH PRIVILEGES;


1 0
原创粉丝点击