Spring mvc 如何安装dandelion数据表
我正在尝试安装dandelion datatables,但配置有一些问题 根据指南,我在pom中添加了以下内容Spring mvc 如何安装dandelion数据表,spring-mvc,datatables,servlet-3.0,dandelion,Spring Mvc,Datatables,Servlet 3.0,Dandelion,我正在尝试安装dandelion datatables,但配置有一些问题 根据指南,我在pom中添加了以下内容 <dependency> <groupId>javax.servlet</groupId> <artifactId>jstl</artifactId> <version>1.2</version> </dependency> <dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
</dependency>
<dependency>
<groupId>com.github.dandelion</groupId>
<artifactId>datatables-jsp</artifactId>
<version>1.1.0</version>
</dependency>
<dependency>
<groupId>com.github.dandelion</groupId>
<artifactId>datatables-export-itext</artifactId>
<version>1.1.0</version>
</dependency>
当我运行该程序时,出现以下错误:
Dandelion: Some properties of your configuration file are not recognized.
The group 'asset' contains 1 unknown property:
我将servlet版本从3.1降级到3.0,现在它可以工作了 生活有时很奇怪
<%@ taglib prefix="datatables" uri="http://github.com/dandelion/datatables" %>
<datatables:table id="myTableId" data="${data}">
<datatables:column title="ID" property="id" />
</datatables:table>
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
version="3.1">
asset.locations.resolution.strategy = remote,webapp,webjar,classpath,jar
Dandelion: Some properties of your configuration file are not recognized.
The group 'asset' contains 1 unknown property: