Skip to content

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

@nchamouard

Description

@nchamouard

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions