Morning: I will need to ask you to keep email on the user list where a) more 
people can answer your question b) I won't be in conflict trying to help you. 

LISAsoft, along with many other providers, is listed under commercial support - 
if you would like immediate and helpful response.

In your root pom.xml of your geoserver build it indicates what version of 
geotools it uses.

I have a checkout of geoserver trunk which as the following:

<properties>
<gs.version>2.2-SNAPSHOT</gs.version>
<gt.version>8-SNAPSHOT</gt.version>
<gwc.version>1.3-SNAPSHOT</gwc.version>

-- 
Jody Garnett


On Wednesday, 22 June 2011 at 8:03 AM, Yen-Sheng Pan wrote:

> Docs for 8?
> I’m still unsure as to where to find the exact string “geotools.version” in 
> the pom files that I have in my geoserver.
> My geoserver data is from the branches/2.1.x
> After changing gt.version to 8-snapshot, there are compile errors in a few 
> places in main that I was unable to fix. 
> 
> I must be missing something fundamental here that you know but I do not.
> 
> 
> 
> From: Jody Garnett [mailto:[email protected]] 
> Sent: Wednesday, 22 June 2011 9:32 a.m.
> To: Yen-Sheng Pan
> Subject: Re: [Geotools-gt2-users] Layer preview - No such method error
> 
> 
> We only have docs for 8. Thee are ver few differences between the two. 
> 
> 
> 
> 
> 
> 
> On 22/06/2011, at 6:20 AM, Yen-Sheng Pan <[email protected] 
> (mailto:[email protected])> wrote:
> 
> 
> > 
> > The link you provided wasn’t very clear as to how to fix the setup, so I 
> > just changed <gt.version> from 2.7-snapshot to 8-snapshot. In 
> > geoserver\src\pom.xml. I’ve already started building and will begin testing 
> > soon.
> > 
> > 
> > 
> > 
> > 
> > Is this what I’m supposed to do? Please let me know if I’ve done it right. 
> > 
> > 
> > 
> > 
> > 
> > Thanks for such a quick response.
> > 
> > 
> > 
> > 
> > 
> > From: Jody Garnett [mailto:[email protected]] 
> > Sent: Tuesday, 21 June 2011 5:57 p.m.
> > To: Yen-Sheng Pan
> > Cc: [email protected] 
> > (mailto:[email protected])
> > Subject: Re: [Geotools-gt2-users] Layer preview - No such method error
> > 
> > 
> > 
> > 
> > 
> > Can yo make sure you are using the same version of geotools through out?
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > The get mark method you refer to has been deprecated for a number of 
> > releases and has recently been removed on trunk. You can see how to replace 
> > it in the update to 8.0 instructions.
> > 
> > 
> > 
> > - 
> > http://docs.geotools.org/latest/userguide/welcome/upgrade.html#geotools-8-0
> > 
> > 
> > 
> > 
> > -- 
> > Jody Garnett
> > 
> > On Tuesday, 21 June 2011 at 1:47 PM, panny wrote:
> > > 
> > > Hi guys, I recently updated to the 21st june version and this happened to 
> > > me.
> > > I'm running on eclipse, using maven to install. What am I missing? An
> > > include somewhere that's been dropped? or something that's been included 
> > > by
> > > accident?
> > > 
> > > 21 Jun 15:37:21 ERROR [geoserver.ows] - 
> > > java.lang.NoSuchMethodError:
> > > org.geotools.styling.Mark.getRotation()Lorg/opengis/filter/expression/Expression;
> > > at
> > > org.geotools.styling.StyleAttributeExtractor.visit(StyleAttributeExtractor.java:358)
> > > at org.geotools.styling.MarkImpl.accept(MarkImpl.java:205)
> > > at
> > > org.geotools.styling.StyleAttributeExtractor.visit(StyleAttributeExtractor.java:326)
> > > at org.geotools.styling.GraphicImpl.accept(GraphicImpl.java:368)
> > > at
> > > org.geotools.styling.StyleAttributeExtractor.visit(StyleAttributeExtractor.java:213)
> > > at
> > > org.geotools.styling.PointSymbolizerImpl.accept(PointSymbolizerImpl.java:92)
> > > at
> > > org.geotools.styling.StyleAttributeExtractor.visit(StyleAttributeExtractor.java:83)
> > > at org.geotools.styling.RuleImpl.accept(RuleImpl.java:310)
> > > at
> > > org.geotools.styling.StyleAttributeExtractor.visit(StyleAttributeExtractor.java:101)
> > > at
> > > org.geotools.styling.FeatureTypeStyleImpl.accept(FeatureTypeStyleImpl.java:236)
> > > at
> > > org.geotools.styling.StyleAttributeExtractor.visit(StyleAttributeExtractor.java:64)
> > > at
> > > org.geoserver.wms.map.GetMapKvpRequestReader.checkStyle(GetMapKvpRequestReader.java:1053)
> > > at
> > > org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:383)
> > > at
> > > org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:1)
> > > at org.geoserver.ows.Dispatcher.parseRequestKVP(Dispatcher.java:1157)
> > > at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:488)
> > > at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:231)
> > > at
> > > org.springframework.web.servlet.mvc.AbstractController.handleRequest 
> > > (http://web.servlet.mvc.AbstractController.handleRequest)(AbstractController.java:153)
> > > at
> > > org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle 
> > > (http://web.servlet.mvc.SimpleControllerHandlerAdapter.handle)(SimpleControllerHandlerAdapter.java:48)
> > > at
> > > org.springframework.web.servlet.DispatcherServlet.doDispatch 
> > > (http://web.servlet.DispatcherServlet.doDispatch)(DispatcherServlet.java:875)
> > > at
> > > org.springframework.web.servlet.DispatcherServlet.doService 
> > > (http://web.servlet.DispatcherServlet.doService)(DispatcherServlet.java:809)
> > > at
> > > org.springframework.web.servlet.FrameworkServlet.processRequest 
> > > (http://web.servlet.FrameworkServlet.processRequest)(FrameworkServlet.java:571)
> > > at
> > > org.springframework.web.servlet.FrameworkServlet.doGet 
> > > (http://web.servlet.FrameworkServlet.doGet)(FrameworkServlet.java:501)
> > > 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:487)
> > > at
> > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
> > > at
> > > org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23)
> > > at
> > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> > > at
> > > org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
> > > at
> > > org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45)
> > > at
> > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> > > at
> > > org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
> > > at
> > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> > > at
> > > org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
> > > at
> > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> > > at
> > > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:394)
> > > at
> > > org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke
> > >  
> > > (http://web.FilterSecurityInterceptor.invoke)(FilterSecurityInterceptor.java:109)
> > > at
> > > org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter
> > >  
> > > (http://web.FilterSecurityInterceptor.doFilter)(FilterSecurityInterceptor.java:83)
> > > at
> > > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
> > > at
> > > org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
> > > at
> > > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
> > > at
> > > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
> > > at
> > > org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)
> > > at
> > > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
> > > at
> > > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
> > > at
> > > org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)
> > > at
> > > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
> > > at
> > > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
> > > at
> > > org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
> > > at
> > > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
> > > at
> > > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
> > > at
> > > org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:185)
> > > at
> > > org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99)
> > > at
> > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> > > at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:71)
> > > at
> > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> > > at
> > > org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183)
> > > at
> > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> > > at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41)
> > > at
> > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> > > at
> > > org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:46)
> > > at
> > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> > > at 
> > > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
> > > at
> > > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> > > at 
> > > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
> > > at 
> > > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
> > > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
> > > at 
> > > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> > > at org.mortbay.jetty.Server.handle(Server.java:324)
> > > at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
> > > at
> > > org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
> > > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
> > > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
> > > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
> > > at
> > > org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
> > > at
> > > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
> > > 
> > > 
> > > --
> > > View this message in context: 
> > > http://osgeo-org.1803224.n2.nabble.com/Layer-preview-No-such-method-error-tp6498624p6498624.html
> > > Sent from the geotools-gt2-users mailing list archive at Nabble.com 
> > > (http://Nabble.com).
> > > 
> > > ------------------------------------------------------------------------------
> > > EditLive Enterprise is the world's most technically advanced content
> > > authoring tool. Experience the power of Track Changes, Inline Image
> > > Editing and ensure content is compliant with Accessibility Checking.
> > > http://p.sf.net/sfu/ephox-dev2dev
> > > _______________________________________________
> > > Geotools-gt2-users mailing list
> > > [email protected] 
> > > (mailto:[email protected])
> > > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
> > > 
> > > 
> > > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> 
> 
> 
> 
> 


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to