遇到了同样的错误,转载记录下: 转载自:https://blog.csdn.net/qq_41938882/article/details/85048953   很明显,还没有启动成功就报错了.报错原因,很明显,说jar包的位置不对.网上关于这类的资料也不对,根本原因就是pom.xml文件中版本依赖有问题,比如你的项目依赖的是2.1.0版本的工程,你其他的子依赖,必须也是2.1.0.我报错的原因就是spring-boot-admin-starter-server的version版本是2.1.0没…
服务器还没启动就报错,是因为jar包的版本没对上,看的视频是SpringBoot2.0 ,现在已经是2.1.7了 将spring-boot-admin-starter-server版本改为最新就ok了…
今天我在一个操作两个数据库的SSH里 同时插入1条数据 报错 Illegal attempt to associate a collection with two open sessions 在这里有答案:http://fuaotech.iteye.com/blog/1298826 使用hibenate的merge方法代替save.update等方法. merge和saveOrUpdate方法区别在于:merge方法是把我们提供的对象转变为托管状态的对象:而saveOrUpdate则是把我们提供…
myeclipse 10 载入新的项目报错Cannot return from outside a function or method 解决方法: 方法一: window -->preferences -->myeclipse -->validation -->javascript validator for Js    files 把Bulid 复选框的勾去掉. 方法二: 在所建立的project项目中右键单击,找到myeclipse-->Exclude Form Val…
详细报错:Failed to install D:\AutoTest\appium\Appium\node_modules\appium\build\unicode_ime_apk\UnicodeIME-debug.apk: Failure [INSTALL_FAILED_ALREADY_EXISTS: Attempt to re-install io.appium.android.ime without first uninstalling.] 报错原因: 配置文件中添加了:'unicodeK…
报错形式: Failed to install D:\AutoTest\appium\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk: Failure [INSTALL_FAILED_ALREADY_EXISTS: Attempt to re-install io.appium.settings without first uninstalling.] 解决方案: 手动卸载手机上已经安装的appium se…
类: Integer id; 反射时: Field f = User.class.getDeclaredField("id"); f.setAccessible(true); int s = f.getInt(u); 这样会报错: java.lang.IllegalArgumentException: Attempt to get java.lang.Integer field "..." with illegal data type conversion to i…
最近在使用vue-cli搭建目录时出现 “webpack-dev-server不是内部或外部命令,也不是可运行的程序 或批处理文件”情况 在网上查了不少资料和解决方法后,结合自己的情况应该是环境变量的path没有读取到npm 报错情况如图 解决方法是找到npm目录把它加入环境变量path中就可以了 OK!完美解决!!!…
搭建ZABBIX服务器准备工作 1.需要服务器是LAMP 或 LNMP 环境 2.主机名和IP要写在HOST文件里 3.iptables 和 selinux 必须关闭 一.先用最简单的方式搭建lamp环境(yum安装) yum -y install gcc net-snmp-devel curl-devel OpenIPMI 安装完成后再测试web能否访问php页面 先添加php页面 vi /var/www/html/index.php <?php phpinfo(); ?> 再查看是否有该进…
报错:Program bash is not found in PATH   (如果按照我的方法来的话是没有这个错误的,我之前用别的方法的时候有但是后来还是没解决,写出来放到这里做参考吧) 参考原文:http://blog.csdn.net/fuyongbing1986/article/details/11556149 方法: 1.把cygwin/bin加入系统环境变量Path下 2.右击工程-->properties-->C/C++ Build -->ToolChain Edit   …