Servlets belong in the classpath, often in WEB-INF/classes.

我在linux上实现jsp从tomcatresin的转移时,程序报错:

Servlets belong in the classpath, often in WEB-INF/classes.

让我百思不得其解。查了很多资料,中文的,英文的,终究没有解决。

删掉apache和resin的目录,重新安装,问题依旧。

很多人都说是resin配置出错,其实不然。

关键问题在jdk的上面,如果resin所用的jdk版本比tomcat低,肯定会报这个错,

不信可以试试哦!呵呵

删除旧的jdk,安装最新的,问题解决!!!

如果大家还有什么疑问,可以联系我 QQ群:37210223

本文版权归休谷网,欢迎转摘,转摘请著名作者和出处!

作者:休谷

首发:www.xoogu.com

Posted on by xoogu, last updated

Differences between windows batch and linux bash shell script syntax

Carrying on from my previous post about using scripts created in Windows on Linux, here are some comparisons to show the syntax differences between Windows batch scripts and bash scripts.

Continue reading

Posted on by xoogu, last updated