[Geoserver-devel] geoserver won't work

Hi all,
I compiled geoserver 1.4.x svn trunk and geotools svn trunk. I launch geoserver with “mvn jetty:run” but when I try to see a WMS demo jetty throws this exception:
11852 [INFO] org.vfny.geoserver.servlets.AbstractService - Had an undefined error: org.geotools.styling.Fill.getBackgroundColor()Lorg/geotools/filter/expression/Expression;
org.vfny.geoserver.wms.WmsException: org.geotools.styling.Fill.getBackgroundColor()Lorg/geotools/filter/expression/Expression;
at org.vfny.geoserver.wms.WmsExceptionHandler.newServiceException(WmsExceptionHandler.java:64)
at org.vfny.geoserver.servlets.AbstractService.sendError(AbstractService.java:839)
at org.vfny.geoserver.servlets.AbstractService.doGet (AbstractService.java:320)
at org.geoserver.request.Dispatcher.dispatch(Dispatcher.java:169)
at org.geoserver.request.Dispatcher.handleRequestInternal(Dispatcher.java:54)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest (AbstractController.java:139)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
at org.springframework.web.servlet.DispatcherServlet.doDispatch (DispatcherServlet.java:684)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java :392)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:347)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service (HttpServlet.java:802)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:442)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1050)
at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
at org.mortbay.jetty.servlet.ServletHandler.handle (ServletHandler.java:354)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:615)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle (ContextHandlerCollection.java:149)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
at org.mortbay.jetty.Server.handle(Server.java:269)
at org.mortbay.jetty.HttpConnection.handlerRequest(HttpConnection.java:420)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java :666)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:487)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:197)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java :336)
at org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:270)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
Caused by: java.lang.NoSuchMethodError : org.geotools.styling.Fill.getBackgroundColor()Lorg/geotools/filter/expression/Expression;
at org.geotools.styling.StyleAttributeExtractor.visit(StyleAttributeExtractor.java:111)
at org.geotools.styling.FillImpl.accept (FillImpl.java:204)
at org.geotools.styling.StyleAttributeExtractor.visit(StyleAttributeExtractor.java:261)
at org.geotools.styling.PolygonSymbolizerImpl.accept(PolygonSymbolizerImpl.java:135)
at org.geotools.styling.StyleAttributeExtractor.visit(StyleAttributeExtractor.java:85)
at org.geotools.styling.RuleImpl.accept(RuleImpl.java:220)
at org.geotools.styling.StyleAttributeExtractor.visit(StyleAttributeExtractor.java :103)
at org.geotools.styling.FeatureTypeStyleImpl.accept(FeatureTypeStyleImpl.java:174)
at org.geotools.styling.StyleAttributeExtractor.visit(StyleAttributeExtractor.java:66)
at org.vfny.geoserver.wms.requests.GetMapKvpReader.checkStyle (GetMapKvpReader.java:698)
at org.vfny.geoserver.wms.requests.GetMapKvpReader.parseStylesParam(GetMapKvpReader.java:628)
at org.vfny.geoserver.wms.requests.GetMapKvpReader.parseLayersAndStyles(GetMapKvpReader.java :745)
at org.vfny.geoserver.wms.requests.GetMapKvpReader.parseMandatoryParameters(GetMapKvpReader.java:386)
at org.vfny.geoserver.wms.requests.GetMapKvpReader.getRequest(GetMapKvpReader.java:225)
at org.vfny.geoserver.servlets.AbstractService.doGet(AbstractService.java:310)
… 28 more


Nicola Racco – nicola.racco@anonymised.com

Nicola,
Geoserver 1.4.x trunk ahs not been designed to run on geotools trunk,
which is 2.3.x but it should run on 2.2.x.

Simone.

On 9/25/06, Nicola Racco <nicola.racco@anonymised.com> wrote:

Hi all,
I compiled geoserver 1.4.x svn trunk and geotools svn trunk. I launch
geoserver with "mvn jetty:run" but when I try to see a WMS demo jetty throws
this exception:
11852 [INFO] org.vfny.geoserver.servlets.AbstractService -
Had an undefined error:
org.geotools.styling.Fill.getBackgroundColor()Lorg/geotools/filter/expression/Expression;
org.vfny.geoserver.wms.WmsException:
org.geotools.styling.Fill.getBackgroundColor()Lorg/geotools/filter/expression/Expression;
        at
org.vfny.geoserver.wms.WmsExceptionHandler.newServiceException(WmsExceptionHandler.java:64)
        at
org.vfny.geoserver.servlets.AbstractService.sendError(AbstractService.java:839)
        at
org.vfny.geoserver.servlets.AbstractService.doGet
(AbstractService.java:320)
        at
org.geoserver.request.Dispatcher.dispatch(Dispatcher.java:169)
        at
org.geoserver.request.Dispatcher.handleRequestInternal(Dispatcher.java:54)
        at
org.springframework.web.servlet.mvc.AbstractController.handleRequest
(AbstractController.java:139)
        at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
        at
org.springframework.web.servlet.DispatcherServlet.doDispatch
(DispatcherServlet.java:684)
        at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625)
        at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java
:392)
        at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:347)
        at
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at javax.servlet.http.HttpServlet.service
(HttpServlet.java:802)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:442)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1050)
        at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
        at org.mortbay.jetty.servlet.ServletHandler.handle
(ServletHandler.java:354)
        at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226)
        at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:615)
        at
org.mortbay.jetty.handler.ContextHandlerCollection.handle
(ContextHandlerCollection.java:149)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123)
        at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
        at org.mortbay.jetty.Server.handle(Server.java:269)
        at
org.mortbay.jetty.HttpConnection.handlerRequest(HttpConnection.java:420)
        at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java
:666)
        at
org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:487)
        at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:197)
        at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java
:336)
        at
org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:270)
        at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
Caused by: java.lang.NoSuchMethodError :
org.geotools.styling.Fill.getBackgroundColor()Lorg/geotools/filter/expression/Expression;
        at
org.geotools.styling.StyleAttributeExtractor.visit(StyleAttributeExtractor.java:111)
        at org.geotools.styling.FillImpl.accept
(FillImpl.java:204)
        at
org.geotools.styling.StyleAttributeExtractor.visit(StyleAttributeExtractor.java:261)
        at
org.geotools.styling.PolygonSymbolizerImpl.accept(PolygonSymbolizerImpl.java:135)
        at
org.geotools.styling.StyleAttributeExtractor.visit(StyleAttributeExtractor.java:85)
        at
org.geotools.styling.RuleImpl.accept(RuleImpl.java:220)
        at
org.geotools.styling.StyleAttributeExtractor.visit(StyleAttributeExtractor.java
:103)
        at
org.geotools.styling.FeatureTypeStyleImpl.accept(FeatureTypeStyleImpl.java:174)
        at
org.geotools.styling.StyleAttributeExtractor.visit(StyleAttributeExtractor.java:66)
        at
org.vfny.geoserver.wms.requests.GetMapKvpReader.checkStyle
(GetMapKvpReader.java:698)
        at
org.vfny.geoserver.wms.requests.GetMapKvpReader.parseStylesParam(GetMapKvpReader.java:628)
        at
org.vfny.geoserver.wms.requests.GetMapKvpReader.parseLayersAndStyles(GetMapKvpReader.java
:745)
        at
org.vfny.geoserver.wms.requests.GetMapKvpReader.parseMandatoryParameters(GetMapKvpReader.java:386)
        at
org.vfny.geoserver.wms.requests.GetMapKvpReader.getRequest(GetMapKvpReader.java:225)
        at
org.vfny.geoserver.servlets.AbstractService.doGet(AbstractService.java:310)
        ... 28 more

--
Nicola Racco -- nicola.racco@anonymised.com
-------------------------------------------------------------------------
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

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

--
-------------------------------------------------------
Eng. Simone Giannecchini
President /CEO GeoSolutions

http://www.geo-solutions.it

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