Re: How interpret error messages?

2022-07-21 Thread mmo


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

  ...
  




  
  ...
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+unsubscr...@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.


Re: How interpret error messages?

2022-07-21 Thread mmo
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
  ...
  




  
  ...

 The File NodeImpl.java, however, is NOT contained in that .jar.

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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/7f66aff9-0ca0-40be-b31b-a7603a823d21n%40googlegroups.com.


How interpret error messages?

2022-07-21 Thread mmo
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/471e8f9b-4a3b-43f1-8df0-61af6b02b7a0n%40googlegroups.com.


Re: Startup error: Object of class 'com.google.gwt.dev.shell.jetty.JettyLauncher.WebAppContextWithReload' is not of type 'org.eclipse.jetty.webapp.WebAppContext'.

2022-07-21 Thread mmo
OK - thanks for letting me know! I interpret that such that gwt:run and 
gwt:debug aren't working/supported anymore, right? 
Do you test and develop in a Tomcat or what's your preferred setup?

On Thursday, July 21, 2022 at 1:33:53 PM UTC+2 t.br...@gmail.com wrote:

> If you need anything specific, don't use the embedded Jetty.
> You have a jetty-web.xml so I assume you need "something specific" → don't 
> use the embedded Jetty.
>
> (it might be that this was plain broken in 2.10 when upgrading the Jetty 
> version, but the last time I had to work on this –that was years ago–, I 
> declared it was the last time and jetty-web.xml wouldn't be supported in 
> the future: if it works, you're lucky, if it doesn't, well, we never said 
> it would so 路 ; now other maintainers might have a different opinion and 
> would be willing to investigate)
>
> On Wednesday, July 20, 2022 at 9:30:16 PM UTC+2 mmo wrote:
>
>> After some substantial fiddling and bug chasing I finally managed to 
>> successfully compile our application using GWT 2.10.0. However, when I 
>> start this locally using the command line:
>>
>> mvn -s 
>> "D:\Projects\KStA_ZH_RegisterJP\code\application\etc\m2\settings_mms.xml" 
>> "gwt:run"   -f 
>> "D:\Projects\KStA_ZH_RegisterJP\code\application\zhstregisterjp-web\pom.xml"
>>
>> (I am using powershell, that's why I need all those quotes)
>>
>> ... then the Jetty-startup ends in:
>>
>> ...
>> 00:00:11.918 [WARN] Failed startup of context 
>> c.g.g.d.s.j.WebAppContextWithReload@aa5455e{/,file:///D:/Projects/KStA_ZH_RegisterJP/code/application/zhstregisterjp-web/target/registerjp/,UNAVAILABLE}{D:\Projects\KStA_ZH_RegisterJP\code\application\zhstregisterjp-web\target\registerjp}
>> java.lang.IllegalArgumentException: Object of class 
>> 'com.google.gwt.dev.shell.jetty.JettyLauncher.WebAppContextWithReload' is 
>> not of type 'org.eclipse.jetty.webapp.WebAppContext'. 
>> Object Class and type Class are from different loaders. in 
>> file:///D:/Projects/KStA_ZH_RegisterJP/code/application/zhstregisterjp-web/target/registerjp/WEB-INF/jetty-web.xml
>>
>> What am I missing here or what needs to be changed to get this running 
>> again with v2.10? Could some kind soul give me a nudge in the direction to 
>> search for?
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/6fa9c53e-b80d-49a1-9ff8-1240f9bc69fan%40googlegroups.com.


Re: Startup error: Object of class 'com.google.gwt.dev.shell.jetty.JettyLauncher.WebAppContextWithReload' is not of type 'org.eclipse.jetty.webapp.WebAppContext'.

2022-07-21 Thread Thomas Broyer
If you need anything specific, don't use the embedded Jetty.
You have a jetty-web.xml so I assume you need "something specific" → don't 
use the embedded Jetty.

(it might be that this was plain broken in 2.10 when upgrading the Jetty 
version, but the last time I had to work on this –that was years ago–, I 
declared it was the last time and jetty-web.xml wouldn't be supported in 
the future: if it works, you're lucky, if it doesn't, well, we never said 
it would so 路 ; now other maintainers might have a different opinion and 
would be willing to investigate)

On Wednesday, July 20, 2022 at 9:30:16 PM UTC+2 mmo wrote:

> After some substantial fiddling and bug chasing I finally managed to 
> successfully compile our application using GWT 2.10.0. However, when I 
> start this locally using the command line:
>
> mvn -s 
> "D:\Projects\KStA_ZH_RegisterJP\code\application\etc\m2\settings_mms.xml" 
> "gwt:run"   -f 
> "D:\Projects\KStA_ZH_RegisterJP\code\application\zhstregisterjp-web\pom.xml"
>
> (I am using powershell, that's why I need all those quotes)
>
> ... then the Jetty-startup ends in:
>
> ...
> 00:00:11.918 [WARN] Failed startup of context 
> c.g.g.d.s.j.WebAppContextWithReload@aa5455e{/,file:///D:/Projects/KStA_ZH_RegisterJP/code/application/zhstregisterjp-web/target/registerjp/,UNAVAILABLE}{D:\Projects\KStA_ZH_RegisterJP\code\application\zhstregisterjp-web\target\registerjp}
> java.lang.IllegalArgumentException: Object of class 
> 'com.google.gwt.dev.shell.jetty.JettyLauncher.WebAppContextWithReload' is 
> not of type 'org.eclipse.jetty.webapp.WebAppContext'. 
> Object Class and type Class are from different loaders. in 
> file:///D:/Projects/KStA_ZH_RegisterJP/code/application/zhstregisterjp-web/target/registerjp/WEB-INF/jetty-web.xml
>
> What am I missing here or what needs to be changed to get this running 
> again with v2.10? Could some kind soul give me a nudge in the direction to 
> search for?
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/181eb54f-80a5-405f-b15f-b93bb3025d2fn%40googlegroups.com.