[Geoserver-users] JAI dependencies causing build, install and required for runtime failures

Attached is my maven install log

SEVERE: Unable to resolve feature source.
java.lang.AssertionError: java.lang.ClassNotFoundException: javax.media.jai.JAI
  at org.geotools.factory.Hints$Key.<init>(Hints.java:303)
  at org.geotools.factory.Hints.<clinit>(Hints.java:179)
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(Unknown Source)
  at org.geotools.factory.FactoryCreator.class$(FactoryCreator.java:60)
  at org.geotools.factory.FactoryCreator.<clinit>(FactoryCreator.java:60)
  at org.geotools.feature.FeatureTypeFactory.getServiceRegistry(FeatureTypeFactory.java:59)
  at org.geotools.feature.FeatureTypeFactory.newInstance(FeatureTypeFactory.java:235)
  at org.geotools.data.DataUtilities.createType(DataUtilities.java:962)
  at org.geotools.data.property.PropertyDataStore.getSchema(PropertyDataStore.java:51)
  at org.geotools.data.property.PropertyFeatureSource.<init>(PropertyFeatureSource.java:30)
  at org.geotools.data.property.PropertyDataStore.getFeatureSource(PropertyDataStore.java:92)
  at org.geotools.catalog.FeatureSourceGeoResource.featureSource(FeatureSourceGeoResource.java:285)
  at org.geotools.catalog.FeatureSourceGeoResource.resolve(FeatureSourceGeoResource.java:122)
  at org.geotools.catalog.property.PropertyGeoResource.resolve(PropertyGeoResource.java:41)
  at org.geoserver.data.GeoServerCatalogTest.testResolveResources(GeoServerCatalogTest.java:47)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at junit.framework.TestCase.runTest(TestCase.java:154)
  at junit.framework.TestCase.runBare(TestCase.java:127)
  at junit.framework.TestResult$1.protect(TestResult.java:106)
  at junit.framework.TestResult.runProtected(TestResult.java:124)
  at junit.framework.TestResult.run(TestResult.java:109)
  at junit.framework.TestCase.run(TestCase.java:118)
  at junit.framework.TestSuite.runTest(TestSuite.java:208)
  at junit.framework.TestSuite.run(TestSuite.java:203)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
  at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
  at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
  at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.lang.ClassNotFoundException: javax.media.jai.JAI
  at java.net.URLClassLoader$1.run(Unknown Source)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(Unknown Source)
  at java.lang.ClassLoader.loadClass(Unknown Source)
  at org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:100)
  at java.lang.ClassLoader.loadClassInternal(Unknown Source)
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(Unknown Source)
  at org.geotools.factory.Hints$Key.<init>(Hints.java:301)
  ... 41 more
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE

log.txt (12.5 KB)

Yeh these crept in from the WCS branch. I am removing them at the moment and the next release won't contain the dependencies.
Thanks for finding this one.

Brent Owens
(The Open Planning Project)

Marc Risney wrote:

Attached is my maven install log

SEVERE: Unable to resolve feature source.
java.lang.AssertionError: java.lang.ClassNotFoundException: javax.media.jai.JAI
    at org.geotools.factory.Hints$Key.<init>(Hints.java:303)
    at org.geotools.factory.Hints.<clinit>(Hints.java:179)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.geotools.factory.FactoryCreator.class$(FactoryCreator.java:60)
    at org.geotools.factory.FactoryCreator.<clinit>(FactoryCreator.java:60)
    at org.geotools.feature.FeatureTypeFactory.getServiceRegistry(FeatureTypeFactory.java:59)

    at org.geotools.feature.FeatureTypeFactory.newInstance(FeatureTypeFactory.java:235)

    at org.geotools.data.DataUtilities.createType(DataUtilities.java:962)
    at org.geotools.data.property.PropertyDataStore.getSchema(PropertyDataStore.java:51)

    at org.geotools.data.property.PropertyFeatureSource.<init>(PropertyFeatureSource.java:30)

    at org.geotools.data.property.PropertyDataStore.getFeatureSource(PropertyDataStore.java:92)

    at org.geotools.catalog.FeatureSourceGeoResource.featureSource(FeatureSourceGeoResource.java:285)

    at org.geotools.catalog.FeatureSourceGeoResource.resolve(FeatureSourceGeoResource.java:122)

    at org.geotools.catalog.property.PropertyGeoResource.resolve(PropertyGeoResource.java:41)

    at org.geoserver.data.GeoServerCatalogTest.testResolveResources(GeoServerCatalogTest.java:47)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)

    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)

    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)

    at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)

    at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)

Caused by: java.lang.ClassNotFoundException: javax.media.jai.JAI
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:100)

    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.geotools.factory.Hints$Key.<init>(Hints.java:301)
    ... 41 more
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
------------------------------------------------------------------------

[INFO] Scanning for projects...
[INFO] Reactor build order: [INFO] GeoServer
[INFO] Core Platform Module
[INFO] Data Module
[INFO] Main Module
[INFO] Validation Module
[INFO] Web Feature Service Module
[INFO] Web Map Service Module
[INFO] GeoServer Maven Plugins
[INFO] Configuration Deployment PlugIn
[INFO] Web Application Module
[INFO] Artifact Merger PlugIn
[INFO] Test Module
[INFO] ----------------------------------------------------------------------------
[INFO] Building GeoServer
[INFO] task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing D:\projects\geoserver\1.4.x\pom.xml to C:\Documents and Settings\mrisney\.m2\repository\org\geoserver\geoserver\1.4.0-RC1\geoserver-1.4.0-RC1.pom
[INFO] ----------------------------------------------------------------------------
[INFO] Building Core Platform Module
[INFO] task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory: D:\projects\geoserver\1.4.x\platform\target\surefire-reports
C:\DOCUME~1\mrisney\LOCALS~1\Temp
27-Oct-2006 19:52:34 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [D:\projects\geoserver\1.4.x\platform\target\test-classes\org\geoserver\applicationContext.xml]
27-Oct-2006 19:52:34 org.springframework.context.support.AbstractApplicationContext refresh
INFO: 2 beans defined in application context [org.springframework.context.support.GenericApplicationContext;hashCode=1925270]
27-Oct-2006 19:52:35 org.springframework.core.CollectionFactory <clinit>
INFO: JDK 1.4+ collections available
27-Oct-2006 19:52:35 org.springframework.core.CollectionFactory <clinit>
INFO: Commons Collections 3.x available
27-Oct-2006 19:52:35 org.geoserver.BeanPersister loadBean
WARNING: Could not persistance file for bean: myBean
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext initMessageSource
INFO: Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@anonymised.com]
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext initApplicationEventMulticaster
INFO: Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@anonymised.com]
27-Oct-2006 19:52:35 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [myBean,beanPersister]; root of BeanFactory hierarchy]
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext close
INFO: Closing application context [org.springframework.context.support.GenericApplicationContext;hashCode=1925270]
27-Oct-2006 19:52:35 org.springframework.beans.factory.support.AbstractBeanFactory destroySingletons
INFO: Destroying singletons in factory {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [myBean,beanPersister]; root of BeanFactory hierarchy}
C:\DOCUME~1\mrisney\LOCALS~1\Temp
27-Oct-2006 19:52:35 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [D:\projects\geoserver\1.4.x\platform\target\test-classes\org\geoserver\applicationContext.xml]
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext refresh
INFO: 2 beans defined in application context [org.springframework.context.support.GenericApplicationContext;hashCode=24669796]
27-Oct-2006 19:52:35 org.geoserver.BeanPersister loadBean
WARNING: Could not persistance file for bean: myBean
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext initMessageSource
INFO: Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@anonymised.com]
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext initApplicationEventMulticaster
INFO: Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@anonymised.com]
27-Oct-2006 19:52:35 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [myBean,beanPersister]; root of BeanFactory hierarchy]
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext close
INFO: Closing application context [org.springframework.context.support.GenericApplicationContext;hashCode=24669796]
27-Oct-2006 19:52:35 org.springframework.beans.factory.support.AbstractBeanFactory destroySingletons
INFO: Destroying singletons in factory {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [myBean,beanPersister]; root of BeanFactory hierarchy}
27-Oct-2006 19:52:35 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [D:\projects\geoserver\1.4.x\platform\target\test-classes\org\geoserver\applicationContext.xml]
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext refresh
INFO: 2 beans defined in application context [org.springframework.context.support.GenericApplicationContext;hashCode=16821027]
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext initMessageSource
INFO: Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@anonymised.com]
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext initApplicationEventMulticaster
INFO: Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@anonymised.com]
27-Oct-2006 19:52:35 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [myBean,beanPersister]; root of BeanFactory hierarchy]
[INFO] [jar:jar]
[INFO] Building jar: D:\projects\geoserver\1.4.x\platform\target\platform-1.4.0-RC1.jar
[INFO] [install:install]
[INFO] Installing D:\projects\geoserver\1.4.x\platform\target\platform-1.4.0-RC1.jar to C:\Documents and Settings\mrisney\.m2\repository\org\geoserver\platform\1.4.0-RC1\platform-1.4.0-RC1.jar
[INFO] ----------------------------------------------------------------------------
[INFO] Building Data Module
[INFO] task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory: D:\projects\geoserver\1.4.x\data\target\surefire-reports
27-Oct-2006 19:52:36 org.springframework.core.CollectionFactory <clinit>
INFO: JDK 1.4+ collections available
27-Oct-2006 19:52:36 org.springframework.core.CollectionFactory <clinit>
INFO: Commons Collections 3.x available
27-Oct-2006 19:52:36 org.geotools.catalog.FeatureSourceGeoResource featureSource
SEVERE: Unable to resolve feature source.
java.lang.AssertionError: java.lang.ClassNotFoundException: javax.media.jai.JAI
  at org.geotools.factory.Hints$Key.<init>(Hints.java:303)
  at org.geotools.factory.Hints.<clinit>(Hints.java:179)
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(Unknown Source)
  at org.geotools.factory.FactoryCreator.class$(FactoryCreator.java:60)
  at org.geotools.factory.FactoryCreator.<clinit>(FactoryCreator.java:60)
  at org.geotools.feature.FeatureTypeFactory.getServiceRegistry(FeatureTypeFactory.java:59)
  at org.geotools.feature.FeatureTypeFactory.newInstance(FeatureTypeFactory.java:235)
  at org.geotools.data.DataUtilities.createType(DataUtilities.java:962)
  at org.geotools.data.property.PropertyDataStore.getSchema(PropertyDataStore.java:51)
  at org.geotools.data.property.PropertyFeatureSource.<init>(PropertyFeatureSource.java:30)
  at org.geotools.data.property.PropertyDataStore.getFeatureSource(PropertyDataStore.java:92)
  at org.geotools.catalog.FeatureSourceGeoResource.featureSource(FeatureSourceGeoResource.java:285)
  at org.geotools.catalog.FeatureSourceGeoResource.resolve(FeatureSourceGeoResource.java:122)
  at org.geotools.catalog.property.PropertyGeoResource.resolve(PropertyGeoResource.java:41)
  at org.geoserver.data.GeoServerCatalogTest.testResolveResources(GeoServerCatalogTest.java:47)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at junit.framework.TestCase.runTest(TestCase.java:154)
  at junit.framework.TestCase.runBare(TestCase.java:127)
  at junit.framework.TestResult$1.protect(TestResult.java:106)
  at junit.framework.TestResult.runProtected(TestResult.java:124)
  at junit.framework.TestResult.run(TestResult.java:109)
  at junit.framework.TestCase.run(TestCase.java:118)
  at junit.framework.TestSuite.runTest(TestSuite.java:208)
  at junit.framework.TestSuite.run(TestSuite.java:203)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
  at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
  at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
  at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.lang.ClassNotFoundException: javax.media.jai.JAI
  at java.net.URLClassLoader$1.run(Unknown Source)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(Unknown Source)
  at java.lang.ClassLoader.loadClass(Unknown Source)
  at org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:100)
  at java.lang.ClassLoader.loadClassInternal(Unknown Source)
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(Unknown Source)
  at org.geotools.factory.Hints$Key.<init>(Hints.java:301)
  ... 41 more
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Fri Oct 27 19:52:36 BST 2006
[INFO] Final Memory: 10M/18M
[INFO] ------------------------------------------------------------------------
  ------------------------------------------------------------------------

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
  

Wait, I'm not sure that it's crept in from the WCS branch. I think it may be that the jars we had to handle this in 1.3.x didn't make it in to 1.4.x?

Brent Owens wrote:

Yeh these crept in from the WCS branch. I am removing them at the moment and the next release won't contain the dependencies.
Thanks for finding this one.

Brent Owens
(The Open Planning Project)

Marc Risney wrote:

Attached is my maven install log

SEVERE: Unable to resolve feature source.
java.lang.AssertionError: java.lang.ClassNotFoundException: javax.media.jai.JAI
    at org.geotools.factory.Hints$Key.<init>(Hints.java:303)
    at org.geotools.factory.Hints.<clinit>(Hints.java:179)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.geotools.factory.FactoryCreator.class$(FactoryCreator.java:60)
    at org.geotools.factory.FactoryCreator.<clinit>(FactoryCreator.java:60)
    at org.geotools.feature.FeatureTypeFactory.getServiceRegistry(FeatureTypeFactory.java:59)

    at org.geotools.feature.FeatureTypeFactory.newInstance(FeatureTypeFactory.java:235)

    at org.geotools.data.DataUtilities.createType(DataUtilities.java:962)
    at org.geotools.data.property.PropertyDataStore.getSchema(PropertyDataStore.java:51)

    at org.geotools.data.property.PropertyFeatureSource.<init>(PropertyFeatureSource.java:30)

    at org.geotools.data.property.PropertyDataStore.getFeatureSource(PropertyDataStore.java:92)

    at org.geotools.catalog.FeatureSourceGeoResource.featureSource(FeatureSourceGeoResource.java:285)

    at org.geotools.catalog.FeatureSourceGeoResource.resolve(FeatureSourceGeoResource.java:122)

    at org.geotools.catalog.property.PropertyGeoResource.resolve(PropertyGeoResource.java:41)

    at org.geoserver.data.GeoServerCatalogTest.testResolveResources(GeoServerCatalogTest.java:47)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)

    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)

    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)

    at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)

    at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)

Caused by: java.lang.ClassNotFoundException: javax.media.jai.JAI
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:100)

    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.geotools.factory.Hints$Key.<init>(Hints.java:301)
    ... 41 more
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
------------------------------------------------------------------------

[INFO] Scanning for projects...
[INFO] Reactor build order: [INFO] GeoServer
[INFO] Core Platform Module
[INFO] Data Module
[INFO] Main Module
[INFO] Validation Module
[INFO] Web Feature Service Module
[INFO] Web Map Service Module
[INFO] GeoServer Maven Plugins
[INFO] Configuration Deployment PlugIn
[INFO] Web Application Module
[INFO] Artifact Merger PlugIn
[INFO] Test Module
[INFO] ----------------------------------------------------------------------------
[INFO] Building GeoServer
[INFO] task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing D:\projects\geoserver\1.4.x\pom.xml to C:\Documents and Settings\mrisney\.m2\repository\org\geoserver\geoserver\1.4.0-RC1\geoserver-1.4.0-RC1.pom
[INFO] ----------------------------------------------------------------------------
[INFO] Building Core Platform Module
[INFO] task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory: D:\projects\geoserver\1.4.x\platform\target\surefire-reports
C:\DOCUME~1\mrisney\LOCALS~1\Temp
27-Oct-2006 19:52:34 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [D:\projects\geoserver\1.4.x\platform\target\test-classes\org\geoserver\applicationContext.xml]
27-Oct-2006 19:52:34 org.springframework.context.support.AbstractApplicationContext refresh
INFO: 2 beans defined in application context [org.springframework.context.support.GenericApplicationContext;hashCode=1925270]
27-Oct-2006 19:52:35 org.springframework.core.CollectionFactory <clinit>
INFO: JDK 1.4+ collections available
27-Oct-2006 19:52:35 org.springframework.core.CollectionFactory <clinit>
INFO: Commons Collections 3.x available
27-Oct-2006 19:52:35 org.geoserver.BeanPersister loadBean
WARNING: Could not persistance file for bean: myBean
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext initMessageSource
INFO: Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@anonymised.com]
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext initApplicationEventMulticaster
INFO: Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@anonymised.com]
27-Oct-2006 19:52:35 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [myBean,beanPersister]; root of BeanFactory hierarchy]
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext close
INFO: Closing application context [org.springframework.context.support.GenericApplicationContext;hashCode=1925270]
27-Oct-2006 19:52:35 org.springframework.beans.factory.support.AbstractBeanFactory destroySingletons
INFO: Destroying singletons in factory {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [myBean,beanPersister]; root of BeanFactory hierarchy}
C:\DOCUME~1\mrisney\LOCALS~1\Temp
27-Oct-2006 19:52:35 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [D:\projects\geoserver\1.4.x\platform\target\test-classes\org\geoserver\applicationContext.xml]
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext refresh
INFO: 2 beans defined in application context [org.springframework.context.support.GenericApplicationContext;hashCode=24669796]
27-Oct-2006 19:52:35 org.geoserver.BeanPersister loadBean
WARNING: Could not persistance file for bean: myBean
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext initMessageSource
INFO: Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@anonymised.com]
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext initApplicationEventMulticaster
INFO: Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@anonymised.com]
27-Oct-2006 19:52:35 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [myBean,beanPersister]; root of BeanFactory hierarchy]
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext close
INFO: Closing application context [org.springframework.context.support.GenericApplicationContext;hashCode=24669796]
27-Oct-2006 19:52:35 org.springframework.beans.factory.support.AbstractBeanFactory destroySingletons
INFO: Destroying singletons in factory {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [myBean,beanPersister]; root of BeanFactory hierarchy}
27-Oct-2006 19:52:35 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [D:\projects\geoserver\1.4.x\platform\target\test-classes\org\geoserver\applicationContext.xml]
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext refresh
INFO: 2 beans defined in application context [org.springframework.context.support.GenericApplicationContext;hashCode=16821027]
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext initMessageSource
INFO: Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@anonymised.com]
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext initApplicationEventMulticaster
INFO: Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@anonymised.com]
27-Oct-2006 19:52:35 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [myBean,beanPersister]; root of BeanFactory hierarchy]
[INFO] [jar:jar]
[INFO] Building jar: D:\projects\geoserver\1.4.x\platform\target\platform-1.4.0-RC1.jar
[INFO] [install:install]
[INFO] Installing D:\projects\geoserver\1.4.x\platform\target\platform-1.4.0-RC1.jar to C:\Documents and Settings\mrisney\.m2\repository\org\geoserver\platform\1.4.0-RC1\platform-1.4.0-RC1.jar
[INFO] ----------------------------------------------------------------------------
[INFO] Building Data Module
[INFO] task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory: D:\projects\geoserver\1.4.x\data\target\surefire-reports
27-Oct-2006 19:52:36 org.springframework.core.CollectionFactory <clinit>
INFO: JDK 1.4+ collections available
27-Oct-2006 19:52:36 org.springframework.core.CollectionFactory <clinit>
INFO: Commons Collections 3.x available
27-Oct-2006 19:52:36 org.geotools.catalog.FeatureSourceGeoResource featureSource
SEVERE: Unable to resolve feature source.
java.lang.AssertionError: java.lang.ClassNotFoundException: javax.media.jai.JAI
  at org.geotools.factory.Hints$Key.<init>(Hints.java:303)
  at org.geotools.factory.Hints.<clinit>(Hints.java:179)
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(Unknown Source)
  at org.geotools.factory.FactoryCreator.class$(FactoryCreator.java:60)
  at org.geotools.factory.FactoryCreator.<clinit>(FactoryCreator.java:60)
  at org.geotools.feature.FeatureTypeFactory.getServiceRegistry(FeatureTypeFactory.java:59)
  at org.geotools.feature.FeatureTypeFactory.newInstance(FeatureTypeFactory.java:235)
  at org.geotools.data.DataUtilities.createType(DataUtilities.java:962)
  at org.geotools.data.property.PropertyDataStore.getSchema(PropertyDataStore.java:51)
  at org.geotools.data.property.PropertyFeatureSource.<init>(PropertyFeatureSource.java:30)
  at org.geotools.data.property.PropertyDataStore.getFeatureSource(PropertyDataStore.java:92)
  at org.geotools.catalog.FeatureSourceGeoResource.featureSource(FeatureSourceGeoResource.java:285)
  at org.geotools.catalog.FeatureSourceGeoResource.resolve(FeatureSourceGeoResource.java:122)
  at org.geotools.catalog.property.PropertyGeoResource.resolve(PropertyGeoResource.java:41)
  at org.geoserver.data.GeoServerCatalogTest.testResolveResources(GeoServerCatalogTest.java:47)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at junit.framework.TestCase.runTest(TestCase.java:154)
  at junit.framework.TestCase.runBare(TestCase.java:127)
  at junit.framework.TestResult$1.protect(TestResult.java:106)
  at junit.framework.TestResult.runProtected(TestResult.java:124)
  at junit.framework.TestResult.run(TestResult.java:109)
  at junit.framework.TestCase.run(TestCase.java:118)
  at junit.framework.TestSuite.runTest(TestSuite.java:208)
  at junit.framework.TestSuite.run(TestSuite.java:203)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
  at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
  at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
  at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.lang.ClassNotFoundException: javax.media.jai.JAI
  at java.net.URLClassLoader$1.run(Unknown Source)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(Unknown Source)
  at java.lang.ClassLoader.loadClass(Unknown Source)
  at org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:100)
  at java.lang.ClassLoader.loadClassInternal(Unknown Source)
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(Unknown Source)
  at org.geotools.factory.Hints$Key.<init>(Hints.java:301)
  ... 41 more
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Fri Oct 27 19:52:36 BST 2006
[INFO] Final Memory: 10M/18M
[INFO] ------------------------------------------------------------------------
  ------------------------------------------------------------------------

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
  
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:1003,454256f5176651971556521!

--
Chris Holmes
The Open Planning Project
http://topp.openplans.org

I'm not sure it's actually needed though. I'm going to take a deeper look.
But if we can include the jar then that might be sufficient.

Brent Owens
(The Open Planning Project)

Chris Holmes wrote:

Wait, I'm not sure that it's crept in from the WCS branch. I think it may be that the jars we had to handle this in 1.3.x didn't make it in to 1.4.x?

Brent Owens wrote:

Yeh these crept in from the WCS branch. I am removing them at the moment and the next release won't contain the dependencies.
Thanks for finding this one.

Brent Owens
(The Open Planning Project)

Marc Risney wrote:

Attached is my maven install log

SEVERE: Unable to resolve feature source.
java.lang.AssertionError: java.lang.ClassNotFoundException: javax.media.jai.JAI
    at org.geotools.factory.Hints$Key.<init>(Hints.java:303)
    at org.geotools.factory.Hints.<clinit>(Hints.java:179)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.geotools.factory.FactoryCreator.class$(FactoryCreator.java:60)
    at org.geotools.factory.FactoryCreator.<clinit>(FactoryCreator.java:60)
    at org.geotools.feature.FeatureTypeFactory.getServiceRegistry(FeatureTypeFactory.java:59)

    at org.geotools.feature.FeatureTypeFactory.newInstance(FeatureTypeFactory.java:235)

    at org.geotools.data.DataUtilities.createType(DataUtilities.java:962)
    at org.geotools.data.property.PropertyDataStore.getSchema(PropertyDataStore.java:51)

    at org.geotools.data.property.PropertyFeatureSource.<init>(PropertyFeatureSource.java:30)

    at org.geotools.data.property.PropertyDataStore.getFeatureSource(PropertyDataStore.java:92)

    at org.geotools.catalog.FeatureSourceGeoResource.featureSource(FeatureSourceGeoResource.java:285)

    at org.geotools.catalog.FeatureSourceGeoResource.resolve(FeatureSourceGeoResource.java:122)

    at org.geotools.catalog.property.PropertyGeoResource.resolve(PropertyGeoResource.java:41)

    at org.geoserver.data.GeoServerCatalogTest.testResolveResources(GeoServerCatalogTest.java:47)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)

    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)

    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)

    at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)

    at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)

Caused by: java.lang.ClassNotFoundException: javax.media.jai.JAI
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:100)

    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.geotools.factory.Hints$Key.<init>(Hints.java:301)
    ... 41 more
[INFO] ------------------------------------------------------------------------

[ERROR] BUILD FAILURE
------------------------------------------------------------------------

[INFO] Scanning for projects...
[INFO] Reactor build order: [INFO] GeoServer
[INFO] Core Platform Module
[INFO] Data Module
[INFO] Main Module
[INFO] Validation Module
[INFO] Web Feature Service Module
[INFO] Web Map Service Module
[INFO] GeoServer Maven Plugins
[INFO] Configuration Deployment PlugIn
[INFO] Web Application Module
[INFO] Artifact Merger PlugIn
[INFO] Test Module
[INFO] ----------------------------------------------------------------------------

[INFO] Building GeoServer
[INFO] task-segment: [install]
[INFO] ----------------------------------------------------------------------------

[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing D:\projects\geoserver\1.4.x\pom.xml to C:\Documents and Settings\mrisney\.m2\repository\org\geoserver\geoserver\1.4.0-RC1\geoserver-1.4.0-RC1.pom

[INFO] ----------------------------------------------------------------------------

[INFO] Building Core Platform Module
[INFO] task-segment: [install]
[INFO] ----------------------------------------------------------------------------

[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory: D:\projects\geoserver\1.4.x\platform\target\surefire-reports
C:\DOCUME~1\mrisney\LOCALS~1\Temp
27-Oct-2006 19:52:34 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [D:\projects\geoserver\1.4.x\platform\target\test-classes\org\geoserver\applicationContext.xml]

27-Oct-2006 19:52:34 org.springframework.context.support.AbstractApplicationContext refresh
INFO: 2 beans defined in application context [org.springframework.context.support.GenericApplicationContext;hashCode=1925270]

27-Oct-2006 19:52:35 org.springframework.core.CollectionFactory <clinit>
INFO: JDK 1.4+ collections available
27-Oct-2006 19:52:35 org.springframework.core.CollectionFactory <clinit>
INFO: Commons Collections 3.x available
27-Oct-2006 19:52:35 org.geoserver.BeanPersister loadBean
WARNING: Could not persistance file for bean: myBean
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext initMessageSource
INFO: Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@anonymised.com]
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext initApplicationEventMulticaster
INFO: Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@anonymised.com]

27-Oct-2006 19:52:35 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [myBean,beanPersister]; root of BeanFactory hierarchy]
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext close
INFO: Closing application context [org.springframework.context.support.GenericApplicationContext;hashCode=1925270]

27-Oct-2006 19:52:35 org.springframework.beans.factory.support.AbstractBeanFactory destroySingletons
INFO: Destroying singletons in factory {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [myBean,beanPersister]; root of BeanFactory hierarchy}
C:\DOCUME~1\mrisney\LOCALS~1\Temp
27-Oct-2006 19:52:35 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [D:\projects\geoserver\1.4.x\platform\target\test-classes\org\geoserver\applicationContext.xml]

27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext refresh
INFO: 2 beans defined in application context [org.springframework.context.support.GenericApplicationContext;hashCode=24669796]

27-Oct-2006 19:52:35 org.geoserver.BeanPersister loadBean
WARNING: Could not persistance file for bean: myBean
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext initMessageSource
INFO: Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@anonymised.com]
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext initApplicationEventMulticaster
INFO: Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@anonymised.com]

27-Oct-2006 19:52:35 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [myBean,beanPersister]; root of BeanFactory hierarchy]
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext close
INFO: Closing application context [org.springframework.context.support.GenericApplicationContext;hashCode=24669796]

27-Oct-2006 19:52:35 org.springframework.beans.factory.support.AbstractBeanFactory destroySingletons
INFO: Destroying singletons in factory {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [myBean,beanPersister]; root of BeanFactory hierarchy}
27-Oct-2006 19:52:35 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [D:\projects\geoserver\1.4.x\platform\target\test-classes\org\geoserver\applicationContext.xml]

27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext refresh
INFO: 2 beans defined in application context [org.springframework.context.support.GenericApplicationContext;hashCode=16821027]

27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext initMessageSource
INFO: Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@anonymised.com]
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext initApplicationEventMulticaster
INFO: Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@anonymised.com]

27-Oct-2006 19:52:35 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [myBean,beanPersister]; root of BeanFactory hierarchy]
[INFO] [jar:jar]
[INFO] Building jar: D:\projects\geoserver\1.4.x\platform\target\platform-1.4.0-RC1.jar
[INFO] [install:install]
[INFO] Installing D:\projects\geoserver\1.4.x\platform\target\platform-1.4.0-RC1.jar to C:\Documents and Settings\mrisney\.m2\repository\org\geoserver\platform\1.4.0-RC1\platform-1.4.0-RC1.jar

[INFO] ----------------------------------------------------------------------------

[INFO] Building Data Module
[INFO] task-segment: [install]
[INFO] ----------------------------------------------------------------------------

[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory: D:\projects\geoserver\1.4.x\data\target\surefire-reports
27-Oct-2006 19:52:36 org.springframework.core.CollectionFactory <clinit>
INFO: JDK 1.4+ collections available
27-Oct-2006 19:52:36 org.springframework.core.CollectionFactory <clinit>
INFO: Commons Collections 3.x available
27-Oct-2006 19:52:36 org.geotools.catalog.FeatureSourceGeoResource featureSource
SEVERE: Unable to resolve feature source.
java.lang.AssertionError: java.lang.ClassNotFoundException: javax.media.jai.JAI
    at org.geotools.factory.Hints$Key.<init>(Hints.java:303)
    at org.geotools.factory.Hints.<clinit>(Hints.java:179)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.geotools.factory.FactoryCreator.class$(FactoryCreator.java:60)
    at org.geotools.factory.FactoryCreator.<clinit>(FactoryCreator.java:60)
    at org.geotools.feature.FeatureTypeFactory.getServiceRegistry(FeatureTypeFactory.java:59)

    at org.geotools.feature.FeatureTypeFactory.newInstance(FeatureTypeFactory.java:235)

    at org.geotools.data.DataUtilities.createType(DataUtilities.java:962)
    at org.geotools.data.property.PropertyDataStore.getSchema(PropertyDataStore.java:51)

    at org.geotools.data.property.PropertyFeatureSource.<init>(PropertyFeatureSource.java:30)

    at org.geotools.data.property.PropertyDataStore.getFeatureSource(PropertyDataStore.java:92)

    at org.geotools.catalog.FeatureSourceGeoResource.featureSource(FeatureSourceGeoResource.java:285)

    at org.geotools.catalog.FeatureSourceGeoResource.resolve(FeatureSourceGeoResource.java:122)

    at org.geotools.catalog.property.PropertyGeoResource.resolve(PropertyGeoResource.java:41)

    at org.geoserver.data.GeoServerCatalogTest.testResolveResources(GeoServerCatalogTest.java:47)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)

    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)

    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)

    at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)

    at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)

Caused by: java.lang.ClassNotFoundException: javax.media.jai.JAI
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:100)

    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.geotools.factory.Hints$Key.<init>(Hints.java:301)
    ... 41 more
[INFO] ------------------------------------------------------------------------

[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

[INFO] There are test failures.
[INFO] ------------------------------------------------------------------------

[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------

[INFO] Total time: 5 seconds
[INFO] Finished at: Fri Oct 27 19:52:36 BST 2006
[INFO] Final Memory: 10M/18M
[INFO] ------------------------------------------------------------------------

  ------------------------------------------------------------------------

-------------------------------------------------------------------------

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
  
-------------------------------------------------------------------------

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:1003,454256f5176651971556521!

Yeh it looks like it has always used the jars. I will add them in so it will compile for people.

Brent Owens
(The Open Planning Project)

Chris Holmes wrote:

Wait, I'm not sure that it's crept in from the WCS branch. I think it may be that the jars we had to handle this in 1.3.x didn't make it in to 1.4.x?

Brent Owens wrote:

Yeh these crept in from the WCS branch. I am removing them at the moment and the next release won't contain the dependencies.
Thanks for finding this one.

Brent Owens
(The Open Planning Project)

Marc Risney wrote:

Attached is my maven install log

SEVERE: Unable to resolve feature source.
java.lang.AssertionError: java.lang.ClassNotFoundException: javax.media.jai.JAI
    at org.geotools.factory.Hints$Key.<init>(Hints.java:303)
    at org.geotools.factory.Hints.<clinit>(Hints.java:179)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.geotools.factory.FactoryCreator.class$(FactoryCreator.java:60)
    at org.geotools.factory.FactoryCreator.<clinit>(FactoryCreator.java:60)
    at org.geotools.feature.FeatureTypeFactory.getServiceRegistry(FeatureTypeFactory.java:59)

    at org.geotools.feature.FeatureTypeFactory.newInstance(FeatureTypeFactory.java:235)

    at org.geotools.data.DataUtilities.createType(DataUtilities.java:962)
    at org.geotools.data.property.PropertyDataStore.getSchema(PropertyDataStore.java:51)

    at org.geotools.data.property.PropertyFeatureSource.<init>(PropertyFeatureSource.java:30)

    at org.geotools.data.property.PropertyDataStore.getFeatureSource(PropertyDataStore.java:92)

    at org.geotools.catalog.FeatureSourceGeoResource.featureSource(FeatureSourceGeoResource.java:285)

    at org.geotools.catalog.FeatureSourceGeoResource.resolve(FeatureSourceGeoResource.java:122)

    at org.geotools.catalog.property.PropertyGeoResource.resolve(PropertyGeoResource.java:41)

    at org.geoserver.data.GeoServerCatalogTest.testResolveResources(GeoServerCatalogTest.java:47)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)

    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)

    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)

    at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)

    at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)

Caused by: java.lang.ClassNotFoundException: javax.media.jai.JAI
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:100)

    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.geotools.factory.Hints$Key.<init>(Hints.java:301)
    ... 41 more
[INFO] ------------------------------------------------------------------------

[ERROR] BUILD FAILURE
------------------------------------------------------------------------

[INFO] Scanning for projects...
[INFO] Reactor build order: [INFO] GeoServer
[INFO] Core Platform Module
[INFO] Data Module
[INFO] Main Module
[INFO] Validation Module
[INFO] Web Feature Service Module
[INFO] Web Map Service Module
[INFO] GeoServer Maven Plugins
[INFO] Configuration Deployment PlugIn
[INFO] Web Application Module
[INFO] Artifact Merger PlugIn
[INFO] Test Module
[INFO] ----------------------------------------------------------------------------

[INFO] Building GeoServer
[INFO] task-segment: [install]
[INFO] ----------------------------------------------------------------------------

[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing D:\projects\geoserver\1.4.x\pom.xml to C:\Documents and Settings\mrisney\.m2\repository\org\geoserver\geoserver\1.4.0-RC1\geoserver-1.4.0-RC1.pom

[INFO] ----------------------------------------------------------------------------

[INFO] Building Core Platform Module
[INFO] task-segment: [install]
[INFO] ----------------------------------------------------------------------------

[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory: D:\projects\geoserver\1.4.x\platform\target\surefire-reports
C:\DOCUME~1\mrisney\LOCALS~1\Temp
27-Oct-2006 19:52:34 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [D:\projects\geoserver\1.4.x\platform\target\test-classes\org\geoserver\applicationContext.xml]

27-Oct-2006 19:52:34 org.springframework.context.support.AbstractApplicationContext refresh
INFO: 2 beans defined in application context [org.springframework.context.support.GenericApplicationContext;hashCode=1925270]

27-Oct-2006 19:52:35 org.springframework.core.CollectionFactory <clinit>
INFO: JDK 1.4+ collections available
27-Oct-2006 19:52:35 org.springframework.core.CollectionFactory <clinit>
INFO: Commons Collections 3.x available
27-Oct-2006 19:52:35 org.geoserver.BeanPersister loadBean
WARNING: Could not persistance file for bean: myBean
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext initMessageSource
INFO: Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@anonymised.com]
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext initApplicationEventMulticaster
INFO: Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@anonymised.com]

27-Oct-2006 19:52:35 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [myBean,beanPersister]; root of BeanFactory hierarchy]
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext close
INFO: Closing application context [org.springframework.context.support.GenericApplicationContext;hashCode=1925270]

27-Oct-2006 19:52:35 org.springframework.beans.factory.support.AbstractBeanFactory destroySingletons
INFO: Destroying singletons in factory {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [myBean,beanPersister]; root of BeanFactory hierarchy}
C:\DOCUME~1\mrisney\LOCALS~1\Temp
27-Oct-2006 19:52:35 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [D:\projects\geoserver\1.4.x\platform\target\test-classes\org\geoserver\applicationContext.xml]

27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext refresh
INFO: 2 beans defined in application context [org.springframework.context.support.GenericApplicationContext;hashCode=24669796]

27-Oct-2006 19:52:35 org.geoserver.BeanPersister loadBean
WARNING: Could not persistance file for bean: myBean
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext initMessageSource
INFO: Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@anonymised.com]
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext initApplicationEventMulticaster
INFO: Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@anonymised.com]

27-Oct-2006 19:52:35 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [myBean,beanPersister]; root of BeanFactory hierarchy]
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext close
INFO: Closing application context [org.springframework.context.support.GenericApplicationContext;hashCode=24669796]

27-Oct-2006 19:52:35 org.springframework.beans.factory.support.AbstractBeanFactory destroySingletons
INFO: Destroying singletons in factory {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [myBean,beanPersister]; root of BeanFactory hierarchy}
27-Oct-2006 19:52:35 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [D:\projects\geoserver\1.4.x\platform\target\test-classes\org\geoserver\applicationContext.xml]

27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext refresh
INFO: 2 beans defined in application context [org.springframework.context.support.GenericApplicationContext;hashCode=16821027]

27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext initMessageSource
INFO: Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@anonymised.com]
27-Oct-2006 19:52:35 org.springframework.context.support.AbstractApplicationContext initApplicationEventMulticaster
INFO: Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@anonymised.com]

27-Oct-2006 19:52:35 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [myBean,beanPersister]; root of BeanFactory hierarchy]
[INFO] [jar:jar]
[INFO] Building jar: D:\projects\geoserver\1.4.x\platform\target\platform-1.4.0-RC1.jar
[INFO] [install:install]
[INFO] Installing D:\projects\geoserver\1.4.x\platform\target\platform-1.4.0-RC1.jar to C:\Documents and Settings\mrisney\.m2\repository\org\geoserver\platform\1.4.0-RC1\platform-1.4.0-RC1.jar

[INFO] ----------------------------------------------------------------------------

[INFO] Building Data Module
[INFO] task-segment: [install]
[INFO] ----------------------------------------------------------------------------

[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory: D:\projects\geoserver\1.4.x\data\target\surefire-reports
27-Oct-2006 19:52:36 org.springframework.core.CollectionFactory <clinit>
INFO: JDK 1.4+ collections available
27-Oct-2006 19:52:36 org.springframework.core.CollectionFactory <clinit>
INFO: Commons Collections 3.x available
27-Oct-2006 19:52:36 org.geotools.catalog.FeatureSourceGeoResource featureSource
SEVERE: Unable to resolve feature source.
java.lang.AssertionError: java.lang.ClassNotFoundException: javax.media.jai.JAI
    at org.geotools.factory.Hints$Key.<init>(Hints.java:303)
    at org.geotools.factory.Hints.<clinit>(Hints.java:179)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.geotools.factory.FactoryCreator.class$(FactoryCreator.java:60)
    at org.geotools.factory.FactoryCreator.<clinit>(FactoryCreator.java:60)
    at org.geotools.feature.FeatureTypeFactory.getServiceRegistry(FeatureTypeFactory.java:59)

    at org.geotools.feature.FeatureTypeFactory.newInstance(FeatureTypeFactory.java:235)

    at org.geotools.data.DataUtilities.createType(DataUtilities.java:962)
    at org.geotools.data.property.PropertyDataStore.getSchema(PropertyDataStore.java:51)

    at org.geotools.data.property.PropertyFeatureSource.<init>(PropertyFeatureSource.java:30)

    at org.geotools.data.property.PropertyDataStore.getFeatureSource(PropertyDataStore.java:92)

    at org.geotools.catalog.FeatureSourceGeoResource.featureSource(FeatureSourceGeoResource.java:285)

    at org.geotools.catalog.FeatureSourceGeoResource.resolve(FeatureSourceGeoResource.java:122)

    at org.geotools.catalog.property.PropertyGeoResource.resolve(PropertyGeoResource.java:41)

    at org.geoserver.data.GeoServerCatalogTest.testResolveResources(GeoServerCatalogTest.java:47)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)

    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)

    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)

    at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)

    at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)

Caused by: java.lang.ClassNotFoundException: javax.media.jai.JAI
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:100)

    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.geotools.factory.Hints$Key.<init>(Hints.java:301)
    ... 41 more
[INFO] ------------------------------------------------------------------------

[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

[INFO] There are test failures.
[INFO] ------------------------------------------------------------------------

[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------

[INFO] Total time: 5 seconds
[INFO] Finished at: Fri Oct 27 19:52:36 BST 2006
[INFO] Final Memory: 10M/18M
[INFO] ------------------------------------------------------------------------

  ------------------------------------------------------------------------

-------------------------------------------------------------------------

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
  
-------------------------------------------------------------------------

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:1003,454256f5176651971556521!

So we have resolved the issue for now I believe. Brent can build, Marc
can you verify?

-Justin

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

just checked out revision 5387 ... no good ..make it better thx .. u guys rawk

On 10/27/06, Justin Deoliveira <jdeolive@anonymised.com> wrote:

So we have resolved the issue for now I believe. Brent can build, Marc
can you verify?

-Justin

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

here is my build log, do dat vodoo dat only u can doo-doo

thx

On 10/27/06, Marc Risney <marc.risney@anonymised.com> wrote:

just checked out revision 5387 ... no good ..make it better thx .. u guys rawk

On 10/27/06, Justin Deoliveira <jdeolive@anonymised.com> wrote:
> So we have resolved the issue for now I believe. Brent can build, Marc
> can you verify?
>
> -Justin
>
> --
> Justin Deoliveira
> The Open Planning Project
> jdeolive@anonymised.com
>

build.log (4.59 KB)

Did it download the jars? Can you check to see if they're in your maven repository?

And was it the exact same error? Or something different?

Marc Risney wrote:

just checked out revision 5387 ... no good ..make it better thx .. u guys rawk

On 10/27/06, Justin Deoliveira <jdeolive@anonymised.com> wrote:

So we have resolved the issue for now I believe. Brent can build, Marc
can you verify?

-Justin

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:1003,45427290193492207481331!

--
Chris Holmes
The Open Planning Project
http://topp.openplans.org

Whoops, my bad, should be fixed now. revision 5388

-Justin
Chris Holmes wrote:

Did it download the jars? Can you check to see if they're in your maven
repository?

And was it the exact same error? Or something different?

Marc Risney wrote:

just checked out revision 5387 ... no good ..make it better thx .. u
guys rawk

On 10/27/06, Justin Deoliveira <jdeolive@anonymised.com> wrote:

So we have resolved the issue for now I believe. Brent can build, Marc
can you verify?

-Justin

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

!DSPAM:1004,45427340194391429667743!

------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:1004,45427340194391429667743!

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com