不';playframework2.6.3中的t工作数据表

不';playframework2.6.3中的t工作数据表,playframework,datatables-1.10,Playframework,Datatables 1.10,我使用playframework2.6.3并希望使用dataTables(jquery-2.2.4,dataTables-1.10.15)。但它不起作用。我看到了简单的html <!DOCTYPE> <html lang="en"> <head> <title>table</title> <link rel="shortcut icon" type="image/png" href="@routes.Assets

我使用playframework2.6.3并希望使用dataTables(jquery-2.2.4,dataTables-1.10.15)。但它不起作用。我看到了简单的html

<!DOCTYPE>
<html lang="en">
<head>
    <title>table</title>

    <link rel="shortcut icon" type="image/png" href="@routes.Assets.versioned("images/favicon.png")">
    <link rel="stylesheet" media="screen" href="@routes.Assets.versioned("stylesheets/css/jquery.dataTables.min.css")">
    <script src="@routes.Assets.versioned("javascripts/jquery-2.2.4.min.js")" type="text/javascript"></script>
    <script src="@routes.Assets.versioned("javascripts/jquery.dataTables.min.js")" type="text/javascript"></script>
</head>
<body>
    <table id="example" class="display" cellspacing="0" width="100%">
        <thead>
            <tr>
                <th>Column 1</th>
                <th>Column 2</th>
                <th>Column 3</th>
                <th>Column 4</th>
                <th>Column 5</th>
            </tr>
        </thead>
        <tfoot>
            <tr>
                <th>Column 1</th>
                <th>Column 2</th>
                <th>Column 3</th>
                <th>Column 4</th>
                <th>Column 5</th>
            </tr>
        </tfoot>
    </table>
</body>

桌子
第1栏
第2栏
第3栏
第4栏
第5栏
第1栏
第2栏
第3栏
第4栏
第5栏

我的依赖项不起作用。为什么?

改变了

play.filters.headers.contentSecurityPolicy=“default src'self”

例如

contentSecurityPolicy=“default src*;style src*‘unsafe inline’;script src*‘unsafe inline’‘unsafe eval’;img src*数据:‘unsafe inline’;connect src*‘unsafe inline’;frame src*;”

改变

play.filters.headers.contentSecurityPolicy=“default src'self”

例如

contentSecurityPolicy=“default src*;style src*‘unsafe inline’;script src*‘unsafe inline’‘unsafe eval’;img src*数据:‘unsafe inline’;connect src*‘unsafe inline’;frame src*;”