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

今天遇到了一个棘手的问题,到现在都没有解决,折腾了一天结果捣鼓出来个更棘手的问题,经过多方继续折腾,终于把后来的这个问题给搞定了,但是前面的问题还是没有解决。有遇到相类似的问题解决了的麻烦分享一下,徒不胜受恩感激!!!

首先我来描述一下最开始的问题:

    开发版本:myeclipse10.5  

    数据库:sqlserver

     要干啥:hibernate反向工程

    出现了啥:出现了个难缠的问题

    简单描述一下问题:好,我就简单的说说这个问题,当我选择myeclipse的db视图的时候,我选择的数据库是sqlserver,数据库字符串,用户名,密码我都写上,jar包也搞上,然后点击“Test Driver”,预想中的是出来这个:


结果给我搞出来个这:

咋一看,啥玩意,赶紧通过图像识别软件(QQ)把上面的文字扫描出来,

8 Error
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启动不了了,直接报错:


提取出来的文字:


8 Error starting Tomcat 7.x server
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就可以了。

到此圆满解决!

相关文章
|
1月前
|
Kubernetes 容器
error: no configuration has been provided, try setting KUBERNET
error: no configuration has been provided, try setting KUBERNET
35 0
|
Java
Appium问题解决方案(8)- selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not sign with default certificate.
Appium问题解决方案(8)- selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not sign with default certificate.
945 0
Appium问题解决方案(8)- selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not sign with default certificate.
成功解决ProxyError: Conda cannot proceed due to an error in your proxy configuration.Check for typos an
成功解决ProxyError: Conda cannot proceed due to an error in your proxy configuration.Check for typos an
成功解决ProxyError: Conda cannot proceed due to an error in your proxy configuration.Check for typos an
|
10月前
|
开发工具
WARNING: library configuration mismatch
WARNING: library configuration mismatch
229 0
|
网络协议 关系型数据库 Linux
onfigure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
onfigure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
155 0
报错解决:Reason: Failed to determine a suitable driver class
报错解决:Reason: Failed to determine a suitable driver class
2485 0
报错解决:Reason: Failed to determine a suitable driver class
Error: invalid option: --with-training-tools
Error: invalid option: --with-training-tools
132 0
|
应用服务中间件 Android开发
a configuration error occurred during startup. place verify the preference field whth the prompt:TomcatJDK name:
a configuration error occurred during startup. place verify the preference field whth the prompt:TomcatJDK name:
115 0
a configuration error occurred during startup. place verify the preference field whth the prompt:TomcatJDK name:
|
Go iOS开发
The operation couldn’t be completed. Unable to log in with account 'myappleid'. An unexpected failure occurred while logging in (Underlying error code 1100).解决方法
The operation couldn’t be completed. Unable to log in with account 'myappleid'. An unexpected failure occurred while logging in (Underlying error code 1100).解决方法
375 0
How to resolve warning message Access restriction -The type Resource is not accessible
How to resolve warning message Access restriction -The type Resource is not accessible
How to resolve warning message Access restriction -The type Resource is not accessible