Dear GWT Community,

We are currently in the process of upgrading our legacy GWT-based Maven WAR 
project to be compatible with JDK 17. While configuring Super Dev Mode 
using the gwt-maven-plugin (net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-2) 
in IntelliJ (Community Edition 2024.3.5), we are encountering an error when 
executing the gwt:codeserver goal.
Environment: 
   
   - 
   
   *JDK*: 17 (C:\Program Files\Java\jdk-17\bin\java.exe)
   - 
   
   *Maven*: 3.9.9
   - 
   
   *Plugin*: net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-2
   - 
   
   *IDE*: IntelliJ IDEA Community Edition 2024.3.5
   - 
   
   *GWT Mode*: gwt:codeserver via IntelliJ Maven goal runner
   
*Issue*: 

When attempting to run the following command (triggered via IntelliJ):

mvn gwt:codeserver

we receive the following error at the end of the build log:

pgsql

[ERROR] Failed to execute goal 
net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-2:codeserver 
(default-cli) on project phoenix-main: No project found -> [Help 1]


-- 
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/7d61766e-094b-4238-8100-0e528a6bf343n%40googlegroups.com.
<?xml version="1.0"?>
<project
		xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";
		xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<artifactId>new_phoenix</artifactId>
		<groupId>phoenix</groupId>
		<version>1.0</version>
	</parent>
	<groupId>phoenix</groupId>
	<artifactId>phoenix-main</artifactId>
	<name>phoenix-main</name>
	<version>1.0</version>
	<packaging>war</packaging>
	<properties>
		<maven.compiler.source>17</maven.compiler.source>
		<maven.compiler.target>17</maven.compiler.target>
		<bambooSharedBeanVersionNumber>27.0</bambooSharedBeanVersionNumber>
		<java-classifier>jdk17</java-classifier>

		<!--Third Party Library-->
		<spring.version>6.1.12</spring.version>
		<lettuce-core.version>6.5.4.RELEASE</lettuce-core.version>
		<jakarta.annotation-api.version>1.3.5</jakarta.annotation-api.version>

		<!-- Utilities  -->
		<log4jframework.version>1.0</log4jframework.version>

		<!-- Maven plugins  -->
		<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
		<maven-enforcer-plugin.version>3.5.0</maven-enforcer-plugin.version>
		<maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
		<maven-jar-plugin.version>3.4.2</maven-jar-plugin.version>
		<transformer-maven-plugin.version>1.0.0</transformer-maven-plugin.version>

		<jakarta.ws.rs-api.version>4.0.0</jakarta.ws.rs-api.version>
		<jakarta.servlet.version>6.1.0</jakarta.servlet.version>
		<jakarta.activation.version>2.1.3</jakarta.activation.version>
		<jakarta.mail.version>2.1.3</jakarta.mail.version>
		<jakarta.ws.rs.version>3.1.0</jakarta.ws.rs.version>
		<gwt.version>2.12.0</gwt.version>
		<bambooSharedBeanVersionNumber>27.0</bambooSharedBeanVersionNumber>

		<gwt.maven.plugin.version>2.11.0</gwt.maven.plugin.version>

		<war.name>phoenix</war.name>
		<deploy.url>http://localhost:8080/phoenix</deploy.url>
		<!-- Use this for Windows -->
		<autodeploy.folder>D:\wildfly-33.0.0.Final\standalone\deployments</autodeploy.folder>

		<!-- Use this for /Unix -->
		<!-- uncomment the below line and comment above line to use in on mumphoenix
			server -->
		<!--<autodeploy.folder>${basedir}/war</autodeploy.folder> -->
	</properties>



	<dependencies>
		<dependency>
			<groupId>phoenix</groupId>
			<artifactId>phoenix-core</artifactId>
			<version>1.0</version>
			<type>jar</type>
			<scope>compile</scope>
			<classifier>${java-classifier}</classifier>
		</dependency>
		<dependency>
			<groupId>phoenix</groupId>
			<artifactId>phoenix-common</artifactId>
			<version>1.0</version>
			<type>jar</type>
			<scope>compile</scope>
			<classifier>${java-classifier}</classifier>
		</dependency>
		<dependency>
			<groupId>phoenix</groupId>
			<artifactId>phoenix-framework</artifactId>
			<version>1.0</version>
			<type>jar</type>
			<scope>compile</scope>
			<classifier>${java-classifier}</classifier>
		</dependency>
		<dependency>
			<groupId>phoenix</groupId>
			<artifactId>phoenix-admin</artifactId>
			<version>1.0</version>
			<type>jar</type>
			<scope>compile</scope>
			<classifier>${java-classifier}</classifier>
		</dependency>
		<dependency>
			<groupId>phoenix</groupId>
			<artifactId>phoenix-routing</artifactId>
			<version>1.0</version>
			<type>jar</type>
			<scope>compile</scope>
			<classifier>${java-classifier}</classifier>
		</dependency>
		<dependency>
			<groupId>phoenix</groupId>
			<artifactId>phoenix-ocean</artifactId>
			<version>1.0</version>
			<type>jar</type>
			<scope>compile</scope>
			<classifier>${java-classifier}</classifier>
		</dependency>
		<dependency>
			<groupId>org.codehaus.mojo</groupId>
			<artifactId>gwt-maven-plugin</artifactId>
			<version>2.10.0</version>
			<exclusions>
				<exclusion>
					<artifactId>struts-core</artifactId>
					<groupId>org.apache.struts</groupId>
				</exclusion>
				<exclusion>
					<artifactId>velocity-tools</artifactId>
					<groupId>org.apache.velocity</groupId>
				</exclusion>
				<exclusion>
					<artifactId>commons-collections</artifactId>
					<groupId>commons-collections</groupId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>jakarta.annotation</groupId>
			<artifactId>jakarta.annotation-api</artifactId>
			<version>${jakarta.annotation-api.version}</version> <!-- or
					the latest stable version -->
		</dependency>
		<dependency>
			<groupId>jakarta.servlet</groupId>
			<artifactId>jakarta.servlet-api</artifactId>
			<version>${jakarta.servlet.version}</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>jakarta.activation</groupId>
			<artifactId>jakarta.activation-api</artifactId>
			<version>${jakarta.activation.version}</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>jakarta.ws.rs</groupId>
			<artifactId>jakarta.ws.rs-api</artifactId>
			<version>${jakarta.ws.rs-api.version}</version>
		</dependency>
		<dependency>
			<groupId>jakarta.servlet</groupId>
			<artifactId>jakarta.servlet-api</artifactId>
			<version>${jakarta.servlet.version}</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>commons-io</groupId>
			<artifactId>commons-io</artifactId>
			<version>2.15.1</version> <!-- Latest as of 2024 -->
		</dependency>
		<!-- https://mvnrepository.com/artifact/org.apache.struts/struts-taglib -->
		<dependency>
			<groupId>org.apache.struts</groupId>
			<artifactId>struts-taglib</artifactId>
			<version>1.3.10</version>
			<scope>provided</scope>
		</dependency>
		<!-- https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api -->
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>javax.servlet-api</artifactId>
			<version>4.0.1</version>
		</dependency>
		<dependency>
			<groupId>javax.servlet.jsp</groupId>
			<artifactId>javax.servlet.jsp-api</artifactId>
			<version>2.3.3</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>jakarta.servlet.jsp</groupId>
			<artifactId>jakarta.servlet.jsp-api</artifactId>
			<version>3.0.0</version>
			<scope>provided</scope>
		</dependency>
		<!-- https://mvnrepository.com/artifact/org.apache.struts/struts2-core -->
		<dependency>
			<groupId>org.apache.struts</groupId>
			<artifactId>struts2-core</artifactId>
			<version>7.0.3</version>
			<scope>provided</scope>
		</dependency>
		<!-- https://mvnrepository.com/artifact/org.apache.struts/struts-taglib -->
		<dependency>
			<groupId>org.apache.struts</groupId>
			<artifactId>struts-taglib</artifactId>
			<version>1.3.10</version>
			<scope>provided</scope>
		</dependency>
		<!-- https://mvnrepository.com/artifact/org.apache.struts/struts-tiles -->
		<dependency>
			<groupId>org.apache.struts</groupId>
			<artifactId>struts-tiles</artifactId>
			<version>1.3.10</version>
			<scope>provided</scope>
		</dependency>
		<!-- https://mvnrepository.com/artifact/org.apache.velocity/velocity-engine-core -->
		<dependency>
			<groupId>org.apache.velocity</groupId>
			<artifactId>velocity-engine-core</artifactId>
			<version>2.4.1</version>
		</dependency>
		<!-- https://mvnrepository.com/artifact/org.apache.velocity.tools/velocity-tools-generic -->
		<dependency>
			<groupId>org.apache.velocity.tools</groupId>
			<artifactId>velocity-tools-generic</artifactId>
			<version>3.1</version>
			<exclusions>
				<exclusion>
					<artifactId>commons-collections</artifactId>
					<groupId>commons-collections</groupId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.apache.velocity</groupId>
			<artifactId>velocity</artifactId>
			<version>1.5</version>
		</dependency>
		<dependency>
			<groupId>org.apache.velocity.tools</groupId>
			<artifactId>velocity-tools-view</artifactId>
			<version>3.1</version>
		</dependency>

	</dependencies>

	<issueManagement>
		<system>Bugzilla</system>
		<url>bugzilla.shipco.com</url>
	</issueManagement>
	<inceptionYear>October 2010</inceptionYear>
	<organization>
		<name>Shipco Corporation Inc</name>
		<url>http://www.shipco.com</url>
	</organization>
	<build>
		<testResources>
			<testResource>
				<directory>resources/query</directory>
			</testResource>
		</testResources>
		<outputDirectory>war/WEB-INF/classes</outputDirectory>
		<plugins>
			<plugin>
				<groupId>net.ltgt.gwt.maven</groupId>
				<artifactId>gwt-maven-plugin</artifactId>
				<version>1.0-rc-2</version>
				<executions>
					<execution>
						<goals>
							<goal>compile</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<moduleName>com.shipco.phoenix.Application</moduleName>
					<localWorkers>3</localWorkers>
					<style>DETAILED</style>
					<workDir>${basedir}/tmp</workDir>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-resources-plugin</artifactId>
				<version>${maven-resources-plugin.version}</version>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-war-plugin</artifactId>
				<version>3.4.0</version>
				<executions>
					<execution>
						<id>jdk17-jar</id>
						<phase>package</phase>
						<configuration>
							<classifier>jdk17</classifier>
						</configuration>
					</execution>
				</executions>
				<configuration>
					<webResources>
						<resource>
							<directory>${basedir}/resources</directory>
							<excludes>
								<exclude>**/*.jar</exclude>
							</excludes>
						</resource>
					</webResources>
					<webappDirectory>${project.build.directory}/${project.build.finalName}/com.shipco.phoenix.Application</webappDirectory>
					<webXml>src/main/webapp/WEB-INF/web.xml</webXml>
					<outputDirectory>${autodeploy.folder}</outputDirectory>
					<warName>${war.name}</warName>
					<packagingExcludes>WEB-INF/lib/gwt-dev-*,WEB-INF/lib/ojdbc14-*,WEB-INF/lib/ironjacamar-jdbc--1.0.3.Final.jar,.gwt-tmp/**</packagingExcludes>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>${maven-compiler-plugin.version}</version>
				<configuration>
					<source>${maven.compiler.source}</source>
					<target>${maven.compiler.target}</target>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-war-plugin</artifactId>
				<version>3.4.0</version>
				<configuration>
					<webResources>
						<resource>
							<directory>${basedir}/resources</directory>
							<excludes>
								<exclude>**/*.jar</exclude>
							</excludes>
						</resource>
					</webResources>
					<webappDirectory>${project.build.directory}/${project.build.finalName}/com.shipco.phoenix.Application</webappDirectory>
					<webXml>src/main/webapp/WEB-INF/web.xml</webXml>
					<outputDirectory>${autodeploy.folder}</outputDirectory>
					<warName>${war.name}</warName>
					<packagingExcludes>WEB-INF/lib/gwt-dev-*,WEB-INF/lib/ojdbc14-*,WEB-INF/lib/ironjacamar-jdbc--1.0.3.Final.jar,.gwt-tmp/**</packagingExcludes>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>2.3.2</version>
				<configuration>
					<source>${maven.compiler.source}</source>
					<target>${maven.compiler.target}</target>
				</configuration>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>2.4.3</version>
				<configuration>
					<includes>
						<include>**/*TestCase1.java</include>
					</includes>
				</configuration>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<configuration>
					<additionalJOption>-J-Xmx1024m</additionalJOption>
					<minmemory>128m</minmemory>
					<maxmemory>1g</maxmemory>
					<doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
					<docletArtifact>
						<groupId>org.umlgraph</groupId>
						<artifactId>doclet</artifactId>
						<version>5.1</version>
					</docletArtifact>
					<additionalparam>-attributes -enumconstants -enumerations
						-operations -types -visibility -inferrel -inferdep -hide java.*</additionalparam>
					<destDir>target/uml</destDir>
					<show>public</show>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-pmd-plugin</artifactId>
				<version>3.21.0</version>
				<configuration>
					<skip>false</skip>
					<failOnViolation>true</failOnViolation>
					<failurePriority>2</failurePriority>
				</configuration>
				<executions>
					<execution>
						<goals>
							<goal>check</goal>
							<!-- <goal>cpd-check</goal> -->
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
</project>
"C:\Program Files\Java\jdk-17\bin\java.exe" 
-Dmaven.multiModuleProjectDirectory=D:\Phoenix-migration\application\phoenix\phoenix-main
 -Djansi.passthrough=true 
-Dmaven.home=D:\apache-maven-3.9.9-bin\apache-maven-3.9.9 
-Didea.modules.paths.file=C:\Users\aameta\AppData\Local\JetBrains\IdeaIC2024.3\Maven\idea-projects-state-6c60f2d8.properties
 -Dclassworlds.conf=C:\Users\aameta\AppData\Local\Temp\idea--mvn.conf 
"-Dmaven.ext.class.path=D:\JetBrains\IntelliJ IDEA Community Edition 
2024.3.5\plugins\maven\lib\maven-event-listener.jar" 
"-javaagent:D:\JetBrains\IntelliJ IDEA Community Edition 
2024.3.5\lib\idea_rt.jar=55271" -Dfile.encoding=UTF-8 -classpath 
D:\apache-maven-3.9.9-bin\apache-maven-3.9.9\boot\plexus-classworlds-2.8.0.jar;D:\apache-maven-3.9.9-bin\apache-maven-3.9.9\boot\plexus-classworlds.license
 org.codehaus.classworlds.Launcher -Didea.version=2024.3.5 --offline 
--non-recursive --update-snapshots -s C:/Users/aameta/.m2/settings.xml 
-Dmaven.repo.local=C:/Users/aameta/.m2/repository -DskipTests=true 
gwt:codeserver
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
phoenix:phoenix-main:war:1.0
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must 
be unique: jakarta.servlet:jakarta.servlet-api:jar -> duplicate declaration of 
version ${jakarta.servlet.version} @ line 151, column 15
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must 
be unique: org.apache.struts:struts-taglib:jar -> duplicate declaration of 
version 1.3.10 @ line 195, column 15
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found 
duplicate declaration of plugin org.apache.maven.plugins:maven-war-plugin @ 
line 317, column 12
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found 
duplicate declaration of plugin org.apache.maven.plugins:maven-compiler-plugin 
@ line 337, column 12
[WARNING] 'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-javadoc-plugin is missing. @ line 358, column 12
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten 
the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support 
building such malformed projects.
[WARNING] 
[INFO] 
[INFO] ------------------------< phoenix:phoenix-main >------------------------
[INFO] Building phoenix-main 1.0
[INFO]   from pom.xml
[INFO] --------------------------------[ war ]---------------------------------
[INFO] 
[INFO] >>> gwt:1.0-rc-2:codeserver (default-cli) > process-classes @ 
phoenix-main >>>
[WARNING] The metadata 
C:\Users\aameta\.m2\repository\com\google\code\gwteventservice\gwteventservice\1.2.0-SNAPSHOT\maven-metadata-com.oracle.xml
 is invalid: end tag name </head> must be the same as start tag <meta> from 
line 363 (position: TEXT seen ...="viewport" 
content="width=device-width,initial-scale=1" >\n</head>... @364:8) 
[WARNING] The metadata 
C:\Users\aameta\.m2\repository\com\google\code\gwteventservice\gwteventservice\1.2.0-SNAPSHOT\maven-metadata-com.oracle.xml
 is invalid: end tag name </head> must be the same as start tag <meta> from 
line 363 (position: TEXT seen ...="viewport" 
content="width=device-width,initial-scale=1" >\n</head>... @364:8) 
[WARNING] The metadata 
C:\Users\aameta\.m2\repository\com\google\code\gwteventservice\parent\1.2.0-SNAPSHOT\maven-metadata-com.oracle.xml
 is invalid: end tag name </head> must be the same as start tag <meta> from 
line 363 (position: TEXT seen ...="viewport" 
content="width=device-width,initial-scale=1" >\n</head>... @364:8) 
[WARNING] The metadata 
C:\Users\aameta\.m2\repository\com\google\code\gwteventservice\eventservice-rpc\1.2.0-SNAPSHOT\maven-metadata-com.oracle.xml
 is invalid: end tag name </head> must be the same as start tag <meta> from 
line 363 (position: TEXT seen ...="viewport" 
content="width=device-width,initial-scale=1" >\n</head>... @364:8) 
[WARNING] The metadata 
C:\Users\aameta\.m2\repository\com\google\code\gwteventservice\eventservice-rpc\1.2.0-SNAPSHOT\maven-metadata-com.oracle.xml
 is invalid: end tag name </head> must be the same as start tag <meta> from 
line 363 (position: TEXT seen ...="viewport" 
content="width=device-width,initial-scale=1" >\n</head>... @364:8) 
[WARNING] The metadata 
C:\Users\aameta\.m2\repository\com\google\code\gwteventservice\eventservice\1.2.0-SNAPSHOT\maven-metadata-com.oracle.xml
 is invalid: end tag name </head> must be the same as start tag <meta> from 
line 363 (position: TEXT seen ...="viewport" 
content="width=device-width,initial-scale=1" >\n</head>... @364:8) 
[WARNING] The metadata 
C:\Users\aameta\.m2\repository\com\google\code\gwteventservice\eventservice\1.2.0-SNAPSHOT\maven-metadata-com.oracle.xml
 is invalid: end tag name </head> must be the same as start tag <meta> from 
line 363 (position: TEXT seen ...="viewport" 
content="width=device-width,initial-scale=1" >\n</head>... @364:8) 
[WARNING] The POM for com.microsoft.font:arialUni:jar:1.0 is invalid, 
transitive dependencies (if any) will not be available: 1 problem was 
encountered while building the effective model
[FATAL] Non-parseable POM 
C:\Users\aameta\.m2\repository\com\microsoft\font\arialUni\1.0\arialUni-1.0.pom:
 end tag name </head> must be the same as start tag <meta> from line 363 
(position: TEXT seen ...="viewport" 
content="width=device-width,initial-scale=1" >\n</head>... @364:8)  @ line 364, 
column 8

[WARNING] The POM for independentsoft:jwebservices:jar:2.0 is invalid, 
transitive dependencies (if any) will not be available: 1 problem was 
encountered while building the effective model
[FATAL] Non-parseable POM 
C:\Users\aameta\.m2\repository\independentsoft\jwebservices\2.0\jwebservices-2.0.pom:
 end tag name </head> must be the same as start tag <meta> from line 363 
(position: TEXT seen ...="viewport" 
content="width=device-width,initial-scale=1" >\n</head>... @364:8)  @ line 364, 
column 8

[WARNING] 1 problem was encountered while building the effective model for 
org.javassist:javassist:jar:3.18.1-GA during dependency collection step for 
project (use -X to see details)
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ phoenix-main ---
[INFO] Copying 54 resources from src\main\resources to war\WEB-INF\classes
[INFO] 
[INFO] --- compiler:2.3.2:compile (default-compile) @ phoenix-main ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] <<< gwt:1.0-rc-2:codeserver (default-cli) < process-classes @ 
phoenix-main <<<
[INFO] 
[INFO] 
[INFO] --- gwt:1.0-rc-2:codeserver (default-cli) @ phoenix-main ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  19.922 s
[INFO] Finished at: 2025-07-11T11:46:04+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-2:codeserver (default-cli) on 
project phoenix-main: No project found -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Process finished with exit code 1

Reply via email to