更换Tomcat导致无法编译jsp

1. bug描述

java.lang.IllegalArgumentException: Page directive: invalid value for import org.apache.jasper.JasperException: org.apache.jasper.JasperException: Unable to compile class for JSP tomcat

2. 解决办法

<%@ page import="org.apache.commons.exec.*,java.io.ByteArrayOutputStream;" %>

删除 ";"

你可能感兴趣的:(更换Tomcat导致无法编译jsp)