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

Cohabitation with gwt-user : errors with javax.validation #1

Open
nchamouard opened this issue Jun 11, 2020 · 0 comments
Open

Cohabitation with gwt-user : errors with javax.validation #1

nchamouard opened this issue Jun 11, 2020 · 0 comments
Assignees

Comments

@nchamouard
Copy link

When gwt-editor is used with gwt-user in the same project, and gwt-editor is before gwt-user in the classpath, compilation fails with many errors similar to :

Tracing compile failure path for type 'com.google.gwt.validation.client.constraints.SizeValidatorForString'
[ERROR] Errors in 'com/google/gwt/validation/client/constraints/SizeValidatorForString.java' [ERROR] Line 27: No source code is available for type javax.validation.ConstraintValidatorContext; did you forget to inherit a required module?

The issue is solved by swapping the two artifacts in maven : gwt-user first, then gwt-editor

@FrankHossfeld FrankHossfeld self-assigned this Jun 18, 2020
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