I was running 2.8.0, everything was fine. now that I upgraded to 2.8.1, my
gwt unit tests are failing: Anything I need to add?
java.lang.NoClassDefFoundError:
com/google/gwt/dev/util/arg/ArgHandlerFilterJsInteropExports
at com.google.gwt.junit.JUnitShell.getUnitTestShell(JUnitShell.java:684)
at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:672)
at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:421)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:247)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at junit.framework.TestSuite.run(TestSuite.java:247)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at junit.framework.TestSuite.run(TestSuite.java:247)
at
org.codehaus.mojo.gwt.test.MavenTestRunner.doRun(MavenTestRunner.java:105)
at junit.textui.TestRunner.start(TestRunner.java:183)
at
org.codehaus.mojo.gwt.test.MavenTestRunner.main(MavenTestRunner.java:63)
Caused by: java.lang.ClassNotFoundException:
com.google.gwt.dev.util.arg.ArgHandlerFilterJsInteropExports
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 16 more
On Tuesday, April 25, 2017 at 3:30:21 PM UTC-4, Colin Alworth wrote:
>
> I'm very pleased to announce the release of GWT 2.8.1. This contains many
> bugfixes and a few enhancements to JsInterop.
>
>
> Highlights from release notes:
>
> -
>
> Elemental1's JSON parser now correctly throws an exception when a
> string, object, or array is not correctly ended.
> -
>
> Support filtering JsInterop types for export, with whitelist/blacklist
> and wildcards. The -generateJsInteropExport flag is still used to
> enable the feature, but -includeJsInteropExport and
> -excludeJsInteropExport now exist to specify packages with optional *
> wildcards. Later arguments and patterns override earlier ones.
> -
>
> Support "*" (any) and "?" (unknown) types as a JsType native name. The
> "Unknown" type can be preferred over Object if the type is unknown, while
> "any" is preferred supertype of any JS type, including primitives.
>
>
> Additionally, this supports the recent beta release of jsinterop.base and
> elemental2, available from Maven Central.
>
>
> Please check out the full release notes
> <http://www.gwtproject.org/release-notes.html#Release_Notes_2_8_1>, then
> download the release zip <https://goo.gl/TysXZl> or update your project
> to get version 2.8.1 from Maven Central.
>
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.