I have been struggling updating my older style (gwt 1.5 with the
older pre-codehause maven plugin) project working with the codehause
gwt-maven-plugin 1.1-SNAPSHOT.
So I resorted to start with a maven project created using the plugin's
archetype in my Eclipse environment which gives looks like it gives me
an appropriate project structure, and a few almost empty classes and
resources including a trivial entry point class.
The pom file you get from the architect needed a configuration section
so I added the following the the gwt plugin section more or less taken
verbatim from the documentation pages except using my test package
prefixes.
<configuration>
<logLevel>INFO</logLevel>
<compileTargets>
<value>cp.sink.client.Application</value>
</compileTargets>
<runTarget>cp.sink.client.Application/
Application.html</runTarget>
<style>DETAILED</style>
<noServer>false</noServer>
<!-- this parameter is VERY important with
automatic mode - has to match the version in your declared deps -->
<!-- if this does not match (default if left out
is 1.5.3) you will have mysterious errors -->
<gwtVersion>${gwtVersion}</gwtVersion>
</configuration>
the project compiles (I have never been having any compilation
problems:-) but when I try the gwt:run target I get the following
[INFO] [gwt:run]
[INFO] using GWT jars from project dependencies : 1.6.1
[INFO] Unpack native libraries required to run GWT
[INFO] source web.xml present - C:\workspaces\ha-serverworkspace\sink
\src\main\webapp\WEB-INF\web.xml - using it with embedded Tomcat
[INFO] establishing classpath list (scope = runtime)
[ERROR] java.lang.NoClassDefFoundError: and
[ERROR] Exception in thread "main"
[ERROR]
I know I am doing something dumb but any suggestions? Also why am I
getting the embedded Tomcat message--I thought things in 1.6 were
transitioning to Jetty?
--Keith
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---