现在的位置: 首页 > 综合 > 正文

运行时相应的jar不会自动跑到tomcat下?

2012年04月13日 ⁄ 综合 ⁄ 共 306字 ⁄ 字号 评论关闭

今天在试tomcat时发现简单的Structs都会出错。

一查发现

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>

引起的。原来是相应的jar没有发布到tomcat下。想想之前的

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

都可以

会不会是需要重新发布包

后来找到在image 中可以redeploy,这样可以重新将引用的jar发布。不用手动copy

抱歉!评论已关闭.