Hi,

I am getting these errors, looks like some jar file is missing in the classpath, could you please let me know what I am missing.

Thanks,

Senthil

 

SampleMap.java:11: cannot find symbol

symbol  : class DefaultMapContext

location: class SampleMap

                DefaultMapContext context = new DefaultMapContext();

                ^

SampleMap.java:11: cannot find symbol

symbol  : class DefaultMapContext

location: class SampleMap

                DefaultMapContext context = new DefaultMapContext();

                                                ^

SampleMap.java:27: cannot find symbol

symbol  : class PropertyChangeListener

location: class SampleMap

                context.addPropertyChangeListener(new PropertyChangeListener()

                                                      ^

SampleMap.java:40: cannot find symbol

symbol  : class Point

location: class SampleMap

                types[0] = AttributeTypeFactory.newAttributeType("centre", Point.class);

                                                                           ^

SampleMap.java:47: cannot find symbol

symbol  : class GeometryFactory

location: class SampleMap

                GeometryFactory geomFac = new GeometryFactory();

                ^

SampleMap.java:47: cannot find symbol

symbol  : class GeometryFactory

location: class SampleMap

                GeometryFactory geomFac = new GeometryFactory();

                                              ^

SampleMap.java:48: cannot find symbol

symbol  : class Point

location: class SampleMap

                Point point1 = geomFac.createPoint(new Coordinate((0.0), 0.0));

                ^

SampleMap.java:48: cannot find symbol

symbol  : class Coordinate

location: class SampleMap

                Point point1 = geomFac.createPoint(new Coordinate((0.0), 0.0));

                                                       ^

SampleMap.java:49: cannot find symbol

symbol  : class Point

location: class SampleMap

                Point point2 = geomFac.createPoint(new Coordinate((10.0), 10.0));

                ^

SampleMap.java:49: cannot find symbol

symbol  : class Coordinate

location: class SampleMap

                Point point2 = geomFac.createPoint(new Coordinate((10.0), 10.0));

                                                       ^

SampleMap.java:59: cannot find symbol

symbol  : method createStyleFactory()

location: interface org.geotools.styling.StyleFactory

                StyleFactory sf = StyleFactory.createStyleFactory();

                                              ^

SampleMap.java:68: cannot find symbol

symbol  : class MapLayer

location: class SampleMap

                MapLayer aLayer = new DefaultMapLayer(fc, s, "layer1");

                ^

SampleMap.java:68: cannot find symbol

symbol  : class DefaultMapLayer

location: class SampleMap

                MapLayer aLayer = new DefaultMapLayer(fc, s, "layer1");

                                      ^

 

-------------------------------------------------------------------------
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

Reply via email to