Sujoy Ray ha scritto: > Hi!! > > I am upgrading an application from geotools 2.1 to 2.3. I addaed > api.jar,referencing.jar and render.jar in my project and changed all > the StyleFactory to StyleFactoryFinder. > > Now it compiles but during run time generates an error as follows: > > java.lang.NoSuchMethodError: > org.opengis.metadata.citation.ResponsibleParty.getOrganisationName()Lorg/opengis/util/InternationalString; > at > org.geotools.metadata.iso.citation.CitationImpl.<init>(CitationImpl.java:285) > at > org.geotools.metadata.iso.citation.Citations.<clinit>(Citations.java:102) > at > org.geotools.referencing.datum.DefaultGeodeticDatum.<clinit>(DefaultGeodeticDatum.java:73) > at > org.geotools.referencing.crs.DefaultGeographicCRS.<clinit>(DefaultGeographicCRS.java:95) > at org.geotools.map.DefaultMapContext.<init>(DefaultMapContext.java:80) > at weather.mission.ui.MainPanel.<init>(MainPanel.java:119) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown > Source) > at java.lang.reflect.Constructor.newInstance(Unknown Source)
Have you replaced the dependency jars as well? In this case it seems you're missing the latest geoapi jar (wild guess). Cheers Andrea Aime ------------------------------------------------------------------------- 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 _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
