Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/spring-mvc/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Spring mvc 如何安装dandelion数据表_Spring Mvc_Datatables_Servlet 3.0_Dandelion - Fatal编程技术网

Spring mvc 如何安装dandelion数据表

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>

我正在尝试安装dandelion datatables,但配置有一些问题

根据指南,我在pom中添加了以下内容

<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: