Skip to content

Multi-Module Project - codeserver #178

@osmanolgun

Description

@osmanolgun

Unfortunately I can't start CodeServer succesfully.
I'm trying to migrate to TBroyer's plugin. Build is successful but I can not start codeserver.

I have the following warning and error.
java.lang.ClassNotFoundException: com.google.gwt.dev.codeserver.CodeServer
Failed to execute goal net.ltgt.gwt.maven:gwt-maven-plugin:1.1.0:codeserver

It is most probably because of a wrong configuration.
I am using GWT 2.11 and Java 11.

Root POM:
build > plugins>

        <plugin>
            <groupId>net.ltgt.gwt.maven</groupId>
            <artifactId>gwt-maven-plugin</artifactId>
            <version>1.1.0</version>
            <executions>
                <execution>
                    <goals>
                        <goal>codeserver</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>

build > plugins> pluginmanagement > plugins

            <plugin>
                <groupId>net.ltgt.gwt.maven</groupId>
                <artifactId>gwt-maven-plugin</artifactId>
                <version>${v.gwt-maven-plugin}</version>
                <extensions>true</extensions>
            </plugin>

Module POM:
gwt-app

	<profile>
		<id>DEV</id>
		<properties>
			<gwt.module>--my module---</gwt.module>
		</properties>
		<build>
			<plugins>
				<plugin>
					<groupId>net.ltgt.gwt.maven</groupId>
					<artifactId>gwt-maven-plugin</artifactId>
					<configuration>
						<skipModule>true</skipModule>
						<moduleName>-- my module---</moduleName>
					</configuration>
				</plugin>
			</plugins>
		</build>
	</profile>

dependencies

	<dependency>
		<groupId>org.gwtproject</groupId>
		<artifactId>gwt-codeserver</artifactId>
		<scope>provided</scope>
	</dependency>

Has anyone same problem?
Thanks in advance.
Sincerely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions