今天学习Rose框架中,实现普通字符串"comtent"进行渲染页面并返回时,访问页面时报错:java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config
查询资料后得知是缺少包jstl-1.2.jar、standard-1.1.2.jar,所以……加包……maven包资源:
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>taglibs</groupId>
<artifactId>standard</artifactId>
<version>1.1.2</version>
</dependency>
等待载包后……运行项目,访问,正确返回结果页面!