From: Miles J. <Mil...@aa...> - 2006-08-27 23:04:15
|
Sujoy, Keep in mind that this can also quite commonly occur when you have two classes in your classpath under the same name. Check to see that you don't still have old jar files in your classpath that may be confusing things. Miles > -----Original Message----- > From: geo...@li...=20 > [mailto:geo...@li...] On=20 > Behalf Of Sujoy Ray > Sent: Friday, 25 August 2006 6:10 AM > To: geo...@li... > Subject: [Geotools-gt2-users] Solution Reqired:A geotools problem >=20 >=20 > Hi!! >=20 > I am upgrading an application from geotools 2.1 to 2.3. I addaed=20 > api.jar,referencing.jar and render.jar in my project and changed all=20 > the StyleFactory to StyleFactoryFinder. >=20 > Now it compiles but during run time generates an error as follows: >=20 > java.lang.NoSuchMethodError:=20 > org.opengis.metadata.citation.ResponsibleParty.getOrganisation > Name()Lorg/opengis/util/InternationalString; > at=20 > org.geotools.metadata.iso.citation.CitationImpl.<init>(Citatio > nImpl.java:285) > at=20 > org.geotools.metadata.iso.citation.Citations.<clinit>(Citation > s.java:102) > at=20 > org.geotools.referencing.datum.DefaultGeodeticDatum.<clinit>(D > efaultGeodeticDatum.java:73) > at=20 > org.geotools.referencing.crs.DefaultGeographicCRS.<clinit>(Def > aultGeographicCRS.java:95) > at=20 > org.geotools.map.DefaultMapContext.<init>(DefaultMapContext.java:80) > at weather.mission.ui.MainPanel.<init>(MainPanel.java:119) > at=20 > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at=20 > sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) > at=20 > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unkn > own Source) > at java.lang.reflect.Constructor.newInstance(Unknown Source) >=20 >=20 > Please let me know the solution. >=20 > Best regards > Sujoy >=20 >=20 >=20 >=20 > --=20 > Sujoy Ray > Student of M.Sc. Computer Science=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Address: > Computer Security Laboratory > Concordia Institute for Information Systems Engineering=20 > (CIISE), Concordia University, 1455, De Maisonneuve West=20 > Boulevard, CB-420-20, Montreal, Quebec, H3G 1M8, Canada.=20 > E-mail:suj...@cs... >=20 >=20 _________________________________________________________________________= __ =20 Australian Antarctic Division - Commonwealth of Australia IMPORTANT: This transmission is intended for the addressee only. If you a= re not the intended recipient, you are notified that use or dissemination of this co= mmunication is strictly prohibited by Commonwealth law. If you have received this transm= ission in error, please notify the sender immediately by e-mail or by telephoning +61 3 62= 32 3209 and DELETE the message. =20 Visit our web site at http://www.aad.gov.au/ _________________________________________________________________________= __ |