Thursday, July 21, 2022

Re: How interpret error messages?

Sorry - if you get this twice - I accidentally have hit the PostMessage button before and had to delete the message again.

Just tried to dig deeper here:  the gwt-user.jar contains a file /org/hibernate/validator/HibernateValidator.gwt.xml.

In the GWT-file I see a section

  ...
  <source path="engine">
    <include name="ConstraintViolationImpl*.java"/>
    <include name="ValidationSupport.java"/>
    <include name="NodeImpl.java"/>
    <include name="PathImpl*.java"/>
  </source>
  ...

The file engine/NodeImpl.[java|class] however, is not in that .jar.
Where's that supposed to come from?

On Thursday, July 21, 2022 at 6:39:11 PM UTC+2 mmo wrote:
When I compile my application with failOnError=true and logLevel=TRACE I see errors like this:

...
[INFO]    Tracing compile failure path for type 'org.hibernate.validator.engine.PathImpl'
[INFO]       [ERROR] Errors in 'jar:file:/D:/m2repository/rjp/org/gwtproject/gwt-user/2.10.0/gwt-user-2.10.0.jar!/org/hibernate/validator/super/org/hibernate/validator/engine/PathImpl.java'
[INFO]          [ERROR] Line 202: The constructor NodeImpl(String) is undefined
[INFO]          [ERROR] Line 95: The constructor NodeImpl(Path.Node) is undefined
[INFO]          [ERROR] Line 209: The method setIndex(Integer) is undefined for the type NodeImpl
[INFO]          [ERROR] Line 212: The method setKey(String) is undefined for the type NodeImpl
[INFO]          [ERROR] Line 72: The constructor NodeImpl(String) is undefined
[INFO]          [ERROR] Line 84: The constructor NodeImpl(Path.Node) is undefined
[INFO]          [ERROR] Line 204: The method setInIterable(boolean) is undefined for the type NodeImpl
...

How does one interpret these? It seems to me as if the ...org/gwtproject/gwt-user/2.10.0/gwt-user-2.10.0.jar references some class org/hibernate/validator/engine/PathImpl.java and can't find its source.
Is that intgerpretation correct? If so: what do I need to import to make that source available? Certainly not the entire Hibernate sources, do I?

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/fd706bc9-8c8d-4514-b0f9-45f18639289bn%40googlegroups.com.

No comments:

Post a Comment