diff --git a/pom.xml b/pom.xml
index aa5b94b..cb4c449 100644
--- a/pom.xml
+++ b/pom.xml
@@ -93,7 +93,7 @@
org.postgresql
postgresql
- 9.4.1212.jre7
+ 42.1.0
com.oracle
diff --git a/src/main/java/com/gis3c/App.java b/src/main/java/com/gis3c/App.java
index 102d804..ae2302b 100644
--- a/src/main/java/com/gis3c/App.java
+++ b/src/main/java/com/gis3c/App.java
@@ -24,26 +24,7 @@ public class App {
public static void main(String[] args) throws IOException {
ApplicationContext context =ContextInit();
-// HelloService obj = (HelloService) context.getBean("helloService");
-// System.out.println(obj.SayHello());
- // display a data store file chooser dialog for shapefiles
- File file = JFileDataStoreChooser.showOpenFile("shp", null);
- if (file == null) {
- return;
- }
-
- FileDataStore store = FileDataStoreFinder.getDataStore(file);
- SimpleFeatureSource featureSource = store.getFeatureSource();
-
- // Create a map content and add our shapefile to it
- MapContent map = new MapContent();
- map.setTitle("Quickstart");
-
- Style style = SLD.createSimpleStyle(featureSource.getSchema());
- Layer layer = new FeatureLayer(featureSource, style);
- map.addLayer(layer);
-
- // Now display the map
- JMapFrame.showMap(map);
+ HelloService obj = (HelloService) context.getBean("helloService");
+ System.out.println(obj.SayHello());
}
}
\ No newline at end of file