Mavenbuild error datatable: TypeError: 'undefined' is not a function (evaluating '$('#tableCol').D

Mavenbuild error datatable: TypeError: 'undefined' is not a function (evaluating '$('#tableCol').D

Adarsh94Adarsh94 Posts: 10Questions: 6Answers: 0
edited July 2018 in Free community support

When i run maven install i am unable to build it completely because it says javascript parse error: TypeError: 'undefined' is not a function (evaluating '$('#tableCol').D

You can see my jenkins build where u will find the error in detail. Use the below link:

EDIT: link removed

Also i just found out that my phantonjs driver is having a problem with data table and showing an error:

[ERROR - 2018-07-20T11:53:09.413Z] Session [7884b370-8c13-11e8-bab8-ed12f07c7ecc] - page.onError - msg: TypeError: 'undefined' is not a function (evaluating '$('#tableCol').DataTable()')

U can see the above error in the link. u will find out just above the separation " ----- BUILD FAILURE----"

This is an important issue as my project needs to completed by today. Can anyone solve this issue as soon as possible.

Thanks a ton in advance.

This question has accepted answers - jump to:

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599
    Answer ✓

    Hi @Adarsh94 ,

    That link doesn't work - it returns an error. We're happy to take a look, but it would help, as per the forum rules, if you could link to a running test case showing the issue so we can offer some help. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

  • Adarsh94Adarsh94 Posts: 10Questions: 6Answers: 0

    hi @allan . I would like to delete this thread as soon as possible as it is has internal website link in the question. I will create a new thread with a detailed question later. Kindly delete this.

  • kthorngrenkthorngren Posts: 21,346Questions: 26Answers: 4,954
    Answer ✓

    @Adarsh94 I removed the link from the post.

    Kevin

  • Adarsh94Adarsh94 Posts: 10Questions: 6Answers: 0

    Thanks a lot @kthorngren . If possible delete this thread as well and i will post a new thread with the error in detail

This discussion has been closed.