tomcat5.0.27以上版本,在用lomboz+eclipse时,出现class loader exception的解决
来源:互联网 发布:mac系统有安卓模拟器吗 编辑:程序博客网 时间:2024/05/22 05:20
tomcat5.0.27以上版本,在用lomboz+eclipse时,出现class loader exception的解决:
Edit the file "tomcat50x.server" under
C:/eclipse/plugins/com.objectlearn.jdt.j2ee_3.0.1/servers
and change
-Djava.endorsed.dirs="${serverRootDirectory}/bin;${serverRootDirectory}/common/endorsed"
to
-Djava.endorsed.dirs="${serverRootDirectory}/common/endorsed"
in the following 'tags':
<startVmParameters>-DJAVA_HOME="${jrePath}" -Dcatalina.base="${serverRootDirectory}" -Dcatalina.home="${serverRootDirectory}" -Djava.io.tmpdir="${serverRootDirectory}/temp" -Djava.endorsed.dirs="${serverRootDirectory}/bin;${serverRootDirectory}/common/endorsed"</startVmParameters>
and
<stopVmParameters>-DJAVA_HOME="${jrePath}" -Dcatalina.base="${serverRootDirectory}" -Dcatalina.home="${serverRootDirectory}" -Djava.io.tmpdir="${serverRootDirectory}/temp" -Djava.endorsed.dirs="${serverRootDirectory}/bin;${serverRootDirectory}/common/endorsed"</stopVmParameters>
This matches the value used in my catalina.bat file when lauched from the command prompt.
C:/eclipse/plugins/com.objectlearn.jdt.j2ee_3.0.1/servers
and change
-Djava.endorsed.dirs="${serverRootDirectory}/bin;${serverRootDirectory}/common/endorsed"
to
-Djava.endorsed.dirs="${serverRootDirectory}/common/endorsed"
in the following 'tags':
<startVmParameters>-DJAVA_HOME="${jrePath}" -Dcatalina.base="${serverRootDirectory}" -Dcatalina.home="${serverRootDirectory}" -Djava.io.tmpdir="${serverRootDirectory}/temp" -Djava.endorsed.dirs="${serverRootDirectory}/bin;${serverRootDirectory}/common/endorsed"</startVmParameters>
and
<stopVmParameters>-DJAVA_HOME="${jrePath}" -Dcatalina.base="${serverRootDirectory}" -Dcatalina.home="${serverRootDirectory}" -Djava.io.tmpdir="${serverRootDirectory}/temp" -Djava.endorsed.dirs="${serverRootDirectory}/bin;${serverRootDirectory}/common/endorsed"</stopVmParameters>
This matches the value used in my catalina.bat file when lauched from the command prompt.
或者索性直接用5.0.25以下版本
- tomcat5.0.27以上版本,在用lomboz+eclipse时,出现class loader exception的解决
- 解决eclipse 启动时 SDK Class loader 0%的办法
- 修改tomcat5.5以上版本的虚拟内存
- 转 让你的Tomcat5.5.*以上的版本如同Tomcat5.0.27版本一样,记录应用程序的日志
- 关于tomcat5.0以上版本双击一闪而过的解决办法
- ECShop在PHP 5.4以上版本报错的解决
- 解决tomcat5.5以上不能用命令行启动的问题
- (自己使用Hibernate出现的版本问题)Eclipse上使用Hibernate5.0及以上版本编写!
- Eclipse3.0+Tomcat5.0+Lomboz的配置
- Eclipse3.0+Tomcat5.0+Lomboz的配置
- 解决eclipse无法整合lomboz的一个小技巧
- eclipse中 tomcat启动出现servler/** load() class exception的异常
- eclipse中复制java项目之后出现Class not found Exception的解决方案
- Tomcat5.0以上版本设置连接池
- Tomcat5.0以上版本设置连接池
- Mysql5.6以上版本Order by出现意料之外的数据原因与解决
- 在lomboz eclipse 3.3中配置tomcat7/8 server运行时环境遇到的问题
- Lomboz plugin在 Eclipse 3.1 上的安装
- [转]如果有那么一间学校
- 对比.NET PetShop和Duwamish来探讨Ado.NET的数据库编程模式
- Duwamish深入剖析-配置篇
- Duwamish深入剖析-结构篇
- 读《Design Patterns》
- tomcat5.0.27以上版本,在用lomboz+eclipse时,出现class loader exception的解决
- windows2000环境下的CVS建立
- Eclipse开发环境建立
- TX Text Control 11.0 本人最新破解 功能同word的编辑器 支持windows 任何版本 word所有功能 能用于BS CS开发
- 故乡的豆腐干
- 业务与技术
- Creating a Winlogon Notification Package
- 程序设计中的感悟
- 试用期间员工权利全搜索