Hi Thomas,

I wanted to inform you that we are currently facing an issue while starting 
the GWT :codeserver. The build is failing with the following error:
*Error*: Could not find or load main class 
com.google.gwt.dev.codeserver.CodeServer 
*Caused by*: java.lang.ClassNotFoundException: 
com.google.gwt.dev.codeserver.CodeServer 

We're using gwt-maven-plugin:1.0-rc-9, and it seems the required gwt-dev 
classes are not being picked up during execution. We've checked the setup 
and dependencies, but the issue still persists.

Please let us know if you've encountered a similar issue before or have any 
suggestions on how to proceed.
On Monday, July 14, 2025 at 4:04:55 PM UTC+5:30 Thomas Broyer wrote:

> I think I already said all that before:
>
>    - You need to clean up your dependencies 
>    (org.codehaus.mojo:gwt-maven-plugin appears as a dependency‽ no need to 
>    declare plugin dependencies for the net.ltgt.gwt.maven:gwt-maven-plugin; 
>    many many many errors/warnings resolving your dependencies; you have both 
>    gwt-servlets and gwt-servlets-jakarta, this is likely a mistake)
>    - You're still calling gwt:codeserver from within the phoenix-main 
>    subproject rather than the root project; while this can work, it's not the 
>    way it was designed to be used
>    - I understand that the POMs shared here are partial, but the plugin 
>    isn't configured in the root project
>    - Because your GWT app is in the same Maven project as your 
>    server-side code, with packaging=war, you *need* to configure the 
>    <projects> (in the root project, where you'll run gwt:codeserver)
>
> Anyway, as previously said, this is unrelated to your version upgrades.
>
> On Monday, July 14, 2025 at 11:00:27 AM UTC+2 [email protected] wrote:
>
>> Hi Thomas,
>>
>> I hope you're doing well.
>>
>> I wanted to inform you that we're still facing issues with the GWT 
>> :codeserver startup. Despite our previous efforts, the same error continues 
>> to occur, and we’ve been unable to get it resolved so far.
>>
>> We’re currently looking into it further, but please let us know if you 
>> have any suggestions or insights that could help us move forward.
>>
>> I’ll keep you updated on any progress from our side.
>> Also shared some input from our side which you suggested in this : 
>> https://github.com/tbroyer/gwt-maven-plugin/issues/21
>> On Friday, July 11, 2025 at 8:30:36 PM UTC+5:30 Thomas Broyer wrote:
>>
>>> On Friday, July 11, 2025 at 12:56:13 PM UTC+2 [email protected] 
>>> wrote:
>>>
>>> Hello Thomas,
>>> We have migrated our application from version gwt 2.8.1 to 2.12.0 along 
>>> with the JDK version updated to 17 and now deploying this to Wildfly 33.
>>>
>>>
>>> If that's all you changed, then I see no reason why gwt:codeserver would 
>>> start failing if it worked before.
>>>
>>> *BUT* note that gwt:codeserver needs to be run on your root project, 
>>> not in the phoenix-main subproject.
>>>
>>

-- 
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/google-web-toolkit/41921dfc-77b3-4576-9fff-1014257a770dn%40googlegroups.com.

Reply via email to