[
http://jira.codehaus.org/browse/MGWT-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=174220#action_174220
]
Max Matveev commented on MGWT-49:
---------------------------------
After adding <gwtVersion>1.6.4</gwtVersion> (version value doesn't matters) i
have same exception as on Mac OS
[WARNING] Attempting to build MavenProject instance for Artifact
(org.codehaus.mojo:gwt-maven-plugin:1.1-20090425.143123-39) of type:
maven-plugin; constructing POM artifact instead.
[INFO] [gwt:compile {execution: default}]
[INFO] using GWT jars for specified version 1.6.4
[INFO] Unpack native libraries required to run GWT
[INFO] auto discovered modules [ru.digitaldiary.application.Application]
[INFO] establishing classpath list (scope = compile)
[ERROR] Exception in thread "main" java.lang.NoClassDefFoundError:
com/google/gwt/dev/Compiler
[ERROR] Caused by: java.lang.ClassNotFoundException:
com.google.gwt.dev.Compiler
[ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
[ERROR] at java.security.AccessController.doPrivileged(Native Method)
[ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
[ERROR] at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
[ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
[ERROR] at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
[ERROR] Could not find the main class: com.google.gwt.dev.Compiler. Program
will exit.
It's on Ubuntu 9.04 dev branch 64-bit (and it's other computer)
> Build fails on Mac with exception: [ERROR] Exception in thread "main"
> java.lang.NoClassDefFoundError: com/google/gwt/dev/Compiler
> ---------------------------------------------------------------------------------------------------------------------------------
>
> Key: MGWT-49
> URL: http://jira.codehaus.org/browse/MGWT-49
> Project: Maven 2.x GWT Plugin
> Issue Type: Bug
> Affects Versions: 1.1
> Environment: Mac OS 10.5.6, Maven 2.0.9, GWT 1.5.3 and 1.6.4
> Reporter: Max Matveev
> Priority: Blocker
>
> With current version of plugin GWT compilation fails with error
> [ERROR] Exception in thread "main" java.lang.NoClassDefFoundError:
> com/google/gwt/dev/Compiler
> It does not depend on project (tried to create new) and GWT version (tried
> 1.5.3 and 1.6.4)
> Worked well with version gwt-maven-plugin-1.1-20090312.110417-34
> Please let me know how i can provide more details.
> sample POM fragment:
> ...
> <dependencies>
> <dependency>
> <groupId>com.google.gwt</groupId>
> <artifactId>gwt-servlet</artifactId>
> <version>${gwtVersion}</version>
> <scope>runtime</scope>
> </dependency>
> <dependency>
> <groupId>com.google.gwt</groupId>
> <artifactId>gwt-user</artifactId>
> <version>${gwtVersion}</version>
> <scope>provided</scope>
> </dependency>
> </dependencies>
> <properties>
> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
> <gwtVersion>1.6.4</gwtVersion>
> <javaVersion>1.5</javaVersion>
> </properties>
> <build>
> <defaultGoal>install</defaultGoal>
> <pluginManagement>
> <plugins>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>gwt-maven-plugin</artifactId>
> <version>1.1-SNAPSHOT</version>
> <configuration>
> <logLevel>ERROR</logLevel>
> <style>OBF</style>
> <extraJvmArgs>-Xmx512m</extraJvmArgs>
> </configuration>
> <executions>
> <execution>
> <goals>
> <goal>compile</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> </plugins>
> </build>
> ...
> Plugin repositories are set up to Codehaus snapshots repo.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email