I installed SNAPSHOT-metadata-plugin-2017 on my
Microsoft Window 7 machine using
Geoserver 2.17 and
Apache Tomcat 9.0.36. Before staring please make sure that you are using
JDK 11.0.2 (x64/86 based on your own OS system type). It's supported completely by both
Geoserver 2.17.x and
Apache Tomcat 9.x.x as it has been mentioned in geoserver consideration and Apache Tomcat Versions.
JDK 11.0.2 and add
/bin folder to windows paths. Then define new variable with name
_JAVA_OPTIONS and value
java -version command in command line to see something like following picture:
Apache Tomcat 9.x.x from here and install it. Remember to set the
JDK 11.0.2 path. It will be ask you while you are installing it.
Geoserver 2.17 in
.war file via this link and copy it into
/webapps root directory. By restarting the
Apache service a new folder will be generated which is
Geoserver application. Now stop
Apache Tomcat service again.
geoserver-2.17-SNAPSHOT-metadata-plugin.zip that is find here. Extract and copy containing
.jar files into
Apache Tomcat will start fine If you go through
http://localhost:xxxx/geoserver/web link you will be faced with confusing error. I read Apache's log and realized there are some missing java classes and also some mistakes in one of the
5. First of all download
snakeyaml-1.24.jar. They are available here and here. Please notice the version. Copy both files
/webapps/geoserver/WEB-INF/lib. Following screenshot shows all
.jar files that
Metadata plugin requires.
6. Change extension of
gs-metadata-2.17-SNAPSHOT.jar file to
.rar, extract it and then go to
<extracted_file_root>/META-INF/maven/org.geoserver.community/gs-metadata directory. Find
pom.xml and open it using a proper editor.
<!-- progress bar --> and Add/Edit following dependencies:
<!--Yaml Parser -->
8. Save changes, close editor and compress the folder again. Now change its extension to
.jar and bring it back to the
9. Start tomcat service and open
Geoserver application from
http://localhost:xxxx/manager/html. If you did all correctly, you will see that
Geoserver starts and you can log in using
admin/geoserver. You can also find newly added
Metadata tab in layer publishing menu.