当前位置: 技术问答>java相关
请教TOMCAT 配置的问题(请别怪我菜)
来源: 互联网 发布时间:2015-01-26
本文导语: C:jakarta-tomcatbin>tomcat start Unable to locate servlet.jar, check the value of TOMCAT_HOME. 可是我已经 set classpath=.;c:jdk1.3;c:jdk1.3lib;C:jdk1.3libtools.jar;C:jdk1.3libdt.jar;C:jakarta-tomcat;C:jakarta-tomcatlib;C:jakarta-tomcatclasses;C:jakarta-tomcatlibant.ja...
C:jakarta-tomcatbin>tomcat start
Unable to locate servlet.jar, check the value of TOMCAT_HOME.
可是我已经
set classpath=.;c:jdk1.3;c:jdk1.3lib;C:jdk1.3libtools.jar;C:jdk1.3libdt.jar;C:jakarta-tomcat;C:jakarta-tomcatlib;C:jakarta-tomcatclasses;C:jakarta-tomcatlibant.jar;C:jakarta-tomcatlibjasper.jar;C:jakarta-tomcatlibjaxp.jar;C:jakarta-tomcatlibparser.jar;C:jakarta-tomcatlibservlet.jar;C:jakarta-tomcatlibwebserver.jar;%ClASSPATH%;
Unable to locate servlet.jar, check the value of TOMCAT_HOME.
可是我已经
set classpath=.;c:jdk1.3;c:jdk1.3lib;C:jdk1.3libtools.jar;C:jdk1.3libdt.jar;C:jakarta-tomcat;C:jakarta-tomcatlib;C:jakarta-tomcatclasses;C:jakarta-tomcatlibant.jar;C:jakarta-tomcatlibjasper.jar;C:jakarta-tomcatlibjaxp.jar;C:jakarta-tomcatlibparser.jar;C:jakarta-tomcatlibservlet.jar;C:jakarta-tomcatlibwebserver.jar;%ClASSPATH%;
|
要设置
Set TOMCAT_HOME=C:jakarta-tomcat
Set JAVA_HOME=c:jdk1.3
加在startup.bat批处理中.
Set TOMCAT_HOME=C:jakarta-tomcat
Set JAVA_HOME=c:jdk1.3
加在startup.bat批处理中.
|
执行startup.bat啊
|
这样,在start.bat上点击右键,
点击属性,点击内存,把初始环境社为4096试试
点击属性,点击内存,把初始环境社为4096试试