A configuration error occurred during startup.Please verify the preference field with the prompt: To
来源:互联网 发布:小学生网络教学 编辑:程序博客网 时间:2024/05/22 09:07
今天遇到了一个棘手的问题,到现在都没有解决,折腾了一天结果捣鼓出来个更棘手的问题,经过多方继续折腾,终于把后来的这个问题给搞定了,但是前面的问题还是没有解决。有遇到相类似的问题解决了的麻烦分享一下,徒不胜受恩感激!!!
首先我来描述一下最开始的问题:
开发版本:myeclipse10.5
数据库:sqlserver
要干啥:hibernate反向工程
出现了啥:出现了个难缠的问题
简单描述一下问题:好,我就简单的说说这个问题,当我选择myeclipse的db视图的时候,我选择的数据库是sqlserver,数据库字符串,用户名,密码我都写上,jar包也搞上,然后点击“Test Driver”,预想中的是出来这个:
结果给我搞出来个这:
咋一看,啥玩意,赶紧通过图像识别软件(QQ)把上面的文字扫描出来,
X
Error while performing database login
with the test driver:
驱动程序无去使用安全套接字层(SSL)加密与SQL Server 建立安全连接。错误:
java.lang.RuntimeException: Could not generate DH keypair.
http://btog.csan.netqq_34137397
OK
扫描完毕就去网上搜,关于这个问题网上倒是不少,有的说吧jdk换成1.7的就行了,1.7的jdk修复了他,此方法肯定行不通,因为我现在的jdk就是1.7的。。。。。然后还有的说还是jdk的版本太低了,让换成1.8的,反正也解决不了,死马就当活马医吧,还能怎么弄。历经好久才吧jdk1.8的下载下来安札UN搞上,1.7的卸载掉,环境变量配置好,重新走一遍。刚开始都是正轨道,OK继续配置,走你!OK,继续报错!!!
到现在了已经连续搞了好几个小时了,烦的不行了,先看看别的吧,结果不看不知道,一看吓一跳。tomcat启动不了了,直接报错:
X
A configuration error occurred during startup.Please verify the preference
field with the prompt: Tomcat 7x JDK name:
....................
OK
在网上查了一趟还是没有找到个原因,结果瞎捣鼓瞎捣鼓终于知道怎么解决了,首先点击:
wiondows-->perferences-->在搜索框中输入tomcat-->找到tomcat7-->jdk-->tomcat 7.X jdk name-->下拉框中选择你的jdk7就可以了。
到此圆满解决!
- A configuration error occurred during startup.Please verify the preference field with the prompt: To
- A configuration error occurred during startup.Please verify the preference field with the prompt: To
- A configuration error occurred during startup. Please verify the preference field with the prompt:
- A Configuration error occurred during startup.Please verify the preference field with the prompt:Ca
- a configuration error occurred during startup.Please verify the preference field with the prompt:Can
- A configuration error occurred during startup.Please verify the preference filed with the prompt
- Tomcat :a configuration error occurred during startup.Please verify the preference field with ......
- Tomcat :a configuration error occurred during startup.Please verify the preference field with ......
- A Configuration error occurred during startup.Please verify the preference field with the prompt:Cannot find a free socket for t
- 遇到的问题----a configuration error occured during startup.please verify the preference field with the pr
- J2EE进阶(二十一)A configuration error occurred during startup.Please verify the preference filed:null
- please verify the preference field with the prompt:null
- a configuration error occurred during startup. ...the prompt: Cannot connect to VM
- Tomcat 6.x:please verify the preference field with the prompt: cannot connect to VM
- J2EE项目部署,弹出please navigate to the server preference pages and verify the field with the prompt:Tomc
- A configuration error occurred during startup. Please......
- Tomcat---Please verify the preference field with the prompt :Tomcat 6.x jdk name
- Please verify the preference field with the prompt:Tomcat7.0 JDK name
- c语言中的#号和##号的作用
- sql转Linq
- Python基础
- C语言基础 递归
- 线程并发四:线程安全之synchronized
- A configuration error occurred during startup.Please verify the preference field with the prompt: To
- Tableview添加索引
- 基于轮廓线索(Contour Cues)的实时行人检测
- 4基于opencv的线性领域滤波(方框_均值_高斯滤波)
- form转json
- java行为设计模式——策略模式
- orcl中查询两个时间的差值(包括时分秒)
- Android引入外部工程作为library,运行主工程报错Manifest merger failed with multiple errors, see ?
- cuda8.0和cudnn v5.1在ubuntu16.04装机