Tomcat启动:A fatal error has been detected by the Java Runtime Environment
2016-08-25 17:53
573 查看
解决办法:让jvm跳过该方法的编译
1.如果是MyEclipse下启动服务,则在Window-preference-java-installed jres 里面设置, 在 defalt vm arguments 填入下边的代码就可以了!
代码:
-XX:CompileCommand=exclude,org/hibernate/cfg/annotations/SimpleValueBinder,setType
1)选择使用的JRE,点击编辑edit
2)将上边代码粘贴到红色框标记内。点击Finish
3)如下图是报错代码:
1.如果是MyEclipse下启动服务,则在Window-preference-java-installed jres 里面设置, 在 defalt vm arguments 填入下边的代码就可以了!
代码:
-XX:CompileCommand=exclude,org/hibernate/cfg/annotations/SimpleValueBinder,setType
1)选择使用的JRE,点击编辑edit
2)将上边代码粘贴到红色框标记内。点击Finish
3)如下图是报错代码:
相关文章推荐
- Tomcat启动报A fatal error has been detected by the Java Runtime Environment
- tomcat启动报错,A fatal error has been detected by the Java Runtime Environment:
- tomcat启动报错,A fatal error has been detected by the Java Runtime Environment
- Tomcat启动:A fatal error has been detected by the Java Runtime Environment(JVM Crash分析及相关资料)
- Tomcat启动:A fatal error has been detected by the Java Runtime Environment(JVM Crash分析及相关资料)
- tomcat启动报错,A fatal error has been detected by the Java Runtime Environment:
- Tomcat启动报A fatal error has been detected by the Java Runtime Environment
- Tomcat启动:A fatal error has been detected by the Java Runtime Environment(JVM)
- Tomcat启动:A fatal error has been detected by the Java Runtime Environment(JVM Crash分析及相关资料)
- 服务器启动报错(Jetty、Tomcat),A fatal error has been detected by the Java Runtime Environment(JVM Crash分析及相关
- Debain启动MyEclipse2015报错:A fatal error has been detected by the Java Runtime Environment:
- tomcat自动关闭:A fatal error has been detected by the Java Runtime Environment
- eclipse启动 java虚拟机报错 A fatal error has been detected by the Java Runtime Environment:
- A fatal error has been detected by the Java Runtime Environment:
- A fatal error has been detected by the Java Runtime Environment(JVM Crash分析及相关资料)
- 一个JVM的错误让我遇到了:A fatal error has been detected by the Java Runtime Environment
- A fatal error has been detected by the Java Runtime Environment(jdk 1.6的一个BUG)
- A fatal error has been detected by the Java Runtime Environment--排错