`
Donald_Draper
  • 浏览: 957478 次
社区版块
存档分类
最新评论

eclipse tomcat 问题解决

阅读更多
1.java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component
Unable to complete the scan for annotations for web application  due to a StackOverflowError. Possible root causes include a too low setting for -Xss and illegal cyclic inheritance dependencies. The class hierarchy being processed was [org.bouncycastle.asn1.ASN1EncodableVector->org.bouncycastle.asn1.DEREncodableVector->org.bouncycastle.asn1.ASN1EncodableVector]
内存问题:修改eclipse.ini,增加内存
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
D:/JDK7/jdk1.7.0_17/bin/javaw.exe
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms1380m
-Xmx1380m

-Xss3m
-XX:+UseParallelGC
-Xverify:none
-XX:+DisableExplicitGC
-Xnoclassgc
#-XX:+UseParNewGC
#-XX:+UseConcMarkSweepGC
-XX:CMSInitiatingOccupancyFraction=85
-XX:ReservedCodeCacheSize=256m
2.java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component
host-manager does not exist or is not a readable directory
解决:删除F:\apache-tomcat-6.0.45\conf\Catalina\localhost文件加下的
host-manager.xml和manager.xml文件
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics