Gary Lucas ha scritto:
> I have spent the entire day trying unsuccessfully to build software
> from the GeoTools source distribution in gt2-2.3.0-src.zip 
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [surefire:test]
> [INFO] Surefire report directory: 
> C:\Nimbus\GeoToolsSource_2_3_0\gt2-2.3.0\module\referencing\target\surefire-reports
> org.apache.maven.surefire.booter.SurefireExecutionException: 
> org.geotools.referencing.operation.transform.WarpTransformTest; nested 
> exception is java.lang.NoClassDefFoundError: javax/media/jai/WarpPolynomial; 
> nested exception is org.apache.maven.surefire.testset.TestSetFailedException: 
> org.geotools.referencing.operation.transform.WarpTransformTest; nested 
> exception is java.lang.NoClassDefFoundError: javax/media/jai/WarpPolynomial
> org.apache.maven.surefire.testset.TestSetFailedException: 
> org.geotools.referencing.operation.transform.WarpTransformTest; nested 
> exception is java.lang.NoClassDefFoundError: javax/media/jai/WarpPolynomial
> java.lang.NoClassDefFoundError: javax/media/jai/WarpPolynomial
>       at java.lang.Class.getDeclaredMethods0(Native Method)

This stack trace is enough to say your JAI installation is not
complete, it's not a JAI class.
Since it occurs on test, you may have been hit by
a quite obscure issue due to the way maven run tests.

Please try again, with jdk 1.4.2 or 1.5.0_x (but not 1.6.0, it
won't build with that one since they changed they jdbc interfaces
and a few other things), and make sure you install both
jai and jai-image i/o, in both the public jre and the jdk.

Let me know how it goes.

Cheers
Andrea

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to