Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

confilct #48

Closed
wangfan0840 opened this issue Jan 11, 2017 · 3 comments
Closed

confilct #48

wangfan0840 opened this issue Jan 11, 2017 · 3 comments

Comments

@wangfan0840
Copy link

when i use it on embed tomact the javax.el-api was conflict with tomcat-embed-el.

@darrachequesne
Copy link
Owner

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>

@wangfan0840
Copy link
Author

wangfan0840 commented Jan 12, 2017

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>

@darrachequesne
Copy link
Owner

Please reopen if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants