Closed wangfan0840 closed 7 years ago
You should be able to exclude the package:
<dependency>
<groupId>com.github.darrachequesne</groupId>
<artifactId>spring-data-jpa-datatables</artifactId>
<version>3.1</version>
<exclusions>
<exclusion>
<groupId>javax.el</groupId>
<artifactId>javax.el-api</artifactId>
</exclusion>
</exclusions>
</dependency>
Thank you for your reply! I have tried this method before, when I run it with intellij idea , everything is normal, but when I use Java -jar to deploy on the server, DataTables will not return data.
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-jasper</artifactId>
</dependency>
<dependency>
<groupId>com.github.darrachequesne</groupId>
<artifactId>spring-data-jpa-datatables</artifactId>
<version>3.1</version>
<exclusions>
<exclusion>
<groupId>javax.el</groupId>
<artifactId>javax.el-api</artifactId>
</exclusion>
</exclusions>
</dependency>
Please reopen if needed.
when i use it on embed tomact the javax.el-api was conflict with tomcat-embed-el.