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就可以了。

到此圆满解决!

相关文章
|
8月前
|
Kubernetes 容器
error: no configuration has been provided, try setting KUBERNET
error: no configuration has been provided, try setting KUBERNET
81 0
|
7月前
|
存储 缓存 自然语言处理
“error“: { “root_cause“: [{ “type“: “circuit_breaking_exception“, “reason“: “[parent] D【已解决】
“error“: { “root_cause“: [{ “type“: “circuit_breaking_exception“, “reason“: “[parent] D【已解决】
57 1
|
开发工具
WARNING: library configuration mismatch
WARNING: library configuration mismatch
339 0
|
Linux
ERROR: 2 matches found based on name: network product-server_default is ambiguous
ERROR: 2 matches found based on name: network product-server_default is ambiguous
171 0
config.guess: unable to guess system type、config.sub: missing argument
config.guess: unable to guess system type、config.sub: missing argument
145 0
checking build system type... ./config.guess: unable to guess system type/you must specify one
checking build system type... ./config.guess: unable to guess system type/you must specify one
174 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 问题解决
198 0
报错解决:Reason: Failed to determine a suitable driver class
报错解决:Reason: Failed to determine a suitable driver class
2574 0
报错解决:Reason: Failed to determine a suitable driver class
|
应用服务中间件 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:
147 0
a configuration error occurred during startup. place verify the preference field whth the prompt:TomcatJDK name:
|
分布式计算 资源调度 Java
[ERROR] Terminal initialization failed; falling back to unsupported java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but interface
1:出现此种错误应该是jar版本包冲突了,启动hive的时候,由于hive依赖hadoop,启动hive,会将hadoop的配置以及jar包等等导入到hive中,导致jar包版本冲突,下面贴一下错误,然后贴一下解决方法: 1 [root@master bin]# .
1612 0