Project moved now compile errors

Skip to first unread message

Sep 13, 2023, 2:58:57 AM9/13/23
to GWT Users

We have a so called build server, where we build all our projects. This is just a server where eclipse is running and where we build our projects with ant.

As the server was/is getting old (windows 2008R2), we have set up a new one (windows 2022). We installed eclipse with the same configuration as on the old server. Same Java versions installed too.
We checked out the projects and now 1 of the projects does not compile the web stuff.
The other projects do build normal.

I have attached the compile log. Can anyone explain what is happening and what i am missing to fix this?



Frank Hossfeld

Sep 13, 2023, 10:03:26 AM9/13/23
to GWT Users
Might be a problem with the jdk version ... 
IIRC, record was added in Java 14 (not sure). It looks like a jdk version > 13 is used to build. 
Not sure if SmartGWT is supporting newer jdk version than version 8.

Next problem might be Eclipse itself. Newer Eclipse version need something greater than Java 8.

Hope that helps.

Sep 13, 2023, 12:03:46 PM9/13/23
to GWT Users
I think you have stumbled upon a known issue.

Class "" conflicts with "Record" in more recent versions of Java

I hope this has been fixed in later versions of SmartGWT.
We will find out as soon as we try to switch to Java17.

I hope this helps you.
Reply all
Reply to author
0 new messages