Saurav Ranjit
2016-02-10 15:48:26 UTC
Hi JTS team,
I have one issue when running the jar file. I have made a program using the
JTS library. The program works fine in the Eclipse . But when i export the
jar file and try to run the program on terminal I am getting the following
error message.
Exception in thread "main" java.lang.NoClassDefFoundError:
com/vividsolutions/jts/io/ParseException
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
at java.lang.Class.getMethod0(Class.java:3018)
at java.lang.Class.getMethod(Class.java:1784)
at org.apache.hadoop.util.RunJar.run(RunJar.java:215)
at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
Caused by: java.lang.ClassNotFoundException:
com.vividsolutions.jts.io.ParseException
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.la
I have put the jts 1.14 jar in the build path as well and I am using centos
as OS
Thank you very much for the help
Regards,
Saurav Ranjit
Master's in Engineering of Remote Sensing and Geographic Information
Systems (RSGIS)
School of Engineering and Technology (SET)
Asian Institute of Technology (AIT)
Thailand
Mobile: (+66) 800544946
Skype: sauravranjit
I have one issue when running the jar file. I have made a program using the
JTS library. The program works fine in the Eclipse . But when i export the
jar file and try to run the program on terminal I am getting the following
error message.
Exception in thread "main" java.lang.NoClassDefFoundError:
com/vividsolutions/jts/io/ParseException
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
at java.lang.Class.getMethod0(Class.java:3018)
at java.lang.Class.getMethod(Class.java:1784)
at org.apache.hadoop.util.RunJar.run(RunJar.java:215)
at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
Caused by: java.lang.ClassNotFoundException:
com.vividsolutions.jts.io.ParseException
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.la
I have put the jts 1.14 jar in the build path as well and I am using centos
as OS
Thank you very much for the help
Regards,
Saurav Ranjit
Master's in Engineering of Remote Sensing and Geographic Information
Systems (RSGIS)
School of Engineering and Technology (SET)
Asian Institute of Technology (AIT)
Thailand
Mobile: (+66) 800544946
Skype: sauravranjit