$webwork.htmlEncode($page.space.name) : Error on startup, "java.lang.NoSuchFieldError KEY_CACHED_TILE_RECYCLING_ENABLED"
This page last changed on Dec 26, 2007 by aaime.
Some users reported this error during GeoServer startup: org.springframework.beans.FatalBeanException: Could not instantiate class [org.vfny.geoserver.global.GeoServer]; constructor threw exception; nested exception is java.lang.NoSuchFieldError: KEY_CACHED_TILE_RECYCLING_ENABLED org.springframework.beans.FatalBeanException: Could not instantiate class [org.vfny.geoserver.global.GeoServer]; constructor threw exception; nested exception is java.lang.NoSuchFieldError: KEY_CACHED_TILE_RECYCLING_ENABLED java.lang.NoSuchFieldError: KEY_CACHED_TILE_RECYCLING_ENABLED at org.vfny.geoserver.global.GeoServer.initJAI(GeoServer.java:719) at org.vfny.geoserver.global.GeoServer.load(GeoServer.java:494) at org.vfny.geoserver.global.GeoServer.<init>(GeoServer.java:129) This happens because there are two conflicting JAI modules around, and with different versions. GeoServer uses and depends on JAI 1.1.2, whilst the JAI that ends up in the classpath in the above example is most probably 1.1 or older. This can happen for one of two reasons:
In the first case, you can solve the problem by grabbing the JAI installers from the jai main site, lastest stable version, and run it to overwrite the old JAI version. |
![]() |
Document generated by Confluence on Jan 16, 2008 23:27 |