Wednesday, September 18, 2019

Maven Plugin for GWT: "An internal error occurred during: "BBj - GWT Compile". Model not available for BBj"

I was able to get a Java 11 / Eclipse 2019-06 development environment building my GWT project with Maven Plugin for GWT a few months ago, but the GWT compile stopped working after updating to Eclipse 2019-06 today, and the error message doesn't give me much to work with. Any idea what this is trying to tell me?

An internal error occurred during: "BBj - GWT Compile".

Model not available for BBj


GWT-compile.png



Here's the pom.xml file for my BBj package:

<project xmlns="http://maven.apache.org/POM/4.0.0"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>

<groupId>BBj</groupId>

<artifactId>BBj</artifactId>

<version>19.20-SNAPSHOT</version>

    <packaging>gwt-app</packaging>

<dependencyManagement>

<dependencies>

<dependency>

<groupId>com.google.gwt</groupId> 

<artifactId>gwt</artifactId>

<version>2.8.2</version>

<type>pom</type>

<scope>import</scope>

</dependency>

</dependencies>

</dependencyManagement>

<dependencies>

<dependency>

<groupId>com.google.gwt</groupId>

<artifactId>gwt-user</artifactId>

</dependency>

<dependency>

<groupId>com.google.gwt</groupId>

<artifactId>gwt-dev</artifactId>

<exclusions>

<exclusion>

<groupId>xml-apis</groupId>

<artifactId>xml-apis</artifactId>

</exclusion>

<exclusion>

<groupId>net.sourceforge.htmlunit</groupId>

<artifactId>htmlunit</artifactId>

</exclusion>

</exclusions>

</dependency>

</dependencies>

<build>

<sourceDirectory>src</sourceDirectory>

<resources>

<resource>

<directory>src</directory>

<excludes>

<exclude>**/*.java</exclude>

</excludes>

</resource>

<resource>

<directory>.apt_generated</directory>

<excludes>

<exclude>**/*.java</exclude>

</excludes>

</resource>

</resources>

<plugins>

<plugin>

<artifactId>maven-compiler-plugin</artifactId>

<version>3.8.0</version>

<configuration>

<release>11</release>

</configuration>

</plugin>

<plugin>

<groupId>net.ltgt.gwt.maven</groupId>

<artifactId>gwt-maven-plugin</artifactId>

<version>1.0-rc-10</version>

<extensions>true</extensions>

<configuration>

<moduleName>com.basis.bbj.web.gwt.GWTWebClient</moduleName>

                    <outputDirectory>war/WEB-INF/classes</outputDirectory>

</configuration>

</plugin>

</plugins>

</build>

</project>

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/5c1b6b87-3fce-4d89-a982-4a88a34cfa12%40googlegroups.com.

No comments:

Post a Comment