![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
tomcat
杰仔仔哦
这个作者很懒,什么都没留下…
展开
-
myeclipse下tomcat无法部署项目 finish按钮无法点击
myeclipse环境下,使用tomcat进行项目部署时,无法部署项目,finish按钮无法点击。原因:context-root丢失解决方案:右击项目-properties-myeclipse-web(在web context-root中添加项目名)如:web-root floder:/webRoot Web Context-root:/我的项目...原创 2015-01-27 21:12:54 · 276 阅读 · 0 评论 -
Tomcat编译jsp生成Servlet文件的存放位置
Tomcat将jsp编译成servlet后的文件存放在/work/Catalina目录下,例如jsp文件/webapps/hh/h.jsp,编译后/work/Catalina/localhost/hh/org/apache/jsp/h_jsp.javaservlet文件和.class文件都在同一目录下。 控制台报的异常行数是指编译过后的servlet文件,而不是你原来的jsp文...原创 2015-01-28 12:06:02 · 281 阅读 · 0 评论 -
java.lang.UnsupportedOperationException
今天开发时遇到了这样一个异常java.lang.UnsupportedOperationException 引起异常代码: 1.String[] strs = new String[]{"a","b"}; 2. List strList = Arrays.asList(strs); 3. strList.add("c");...原创 2015-02-04 16:58:52 · 104 阅读 · 0 评论 -
java.lang.illegalargumentexception:MALFORMED
在centos系统中,启动tomcat7时出现 java.lang.illegalargumentexception:MALFORMED原因:centos自带的jdk版本为1.7解决方案:删除原来自带的jdk版本1.7然后安装1.6的版本配合tomcat7启动即可解决。...原创 2016-05-17 10:59:03 · 1652 阅读 · 0 评论 -
startup.sh执行后报The file is absent or does not have execute permission
启动tomcat Cannot find bin/catalina.sh The file is absent or does not have execute permission This file is needed to run this program 原因: 没有权限解决方案: chmod 777 *.sh ...原创 2016-05-17 11:02:32 · 195 阅读 · 0 评论 -
This file is needed to run this program
/data/restarttomcat.sh出现如下消息:Cannot find bin/catalina.sh The file is absent or does not have execute permission This file is needed to run this program 执行如下命令解决 : chmod 777 /data/res...原创 2015-09-18 14:54:37 · 1043 阅读 · 0 评论