# Problems with java archetype parser **Category:** [Technical (archive)](https://discourse.openehr.org/c/technical-archive/156) **Created:** 2009-04-28 02:59 UTC **Views:** 4 **Replies:** 2 **URL:** https://discourse.openehr.org/t/problems-with-java-archetype-parser/14888 --- ## Post #1 by @pablo Hi everyone, I've downloaded the java parser jar from openehr site ([http://www.openehr.org/svn/ref_impl_java/TRUNK/docs/download.htm](http://www.openehr.org/svn/ref_impl_java/TRUNK/docs/download.htm)) and made a simple application to try it, but when I want to parse an archetype I get: Exception in thread "main" java.lang.NoClassDefFoundError: org/openehr/rm/support/measurement/SimpleMeasurementService at se.acode.openehr.parser.ADLParser.(ADLParser.java:49) at se.acode.openehr.parser.ADLParser.(ADLParser.java:56) at Main.main(Main.java:55) Attached is my code, I use all the jars I've downloaded from the openehr site, and the XStream lib to see the content of the parsed instance of the archetype (this code is never executed because the error). Any ideas? Thanks a lot! Cheers, Pablo. [details="(attachments)"] [Main.java|attachment](upload://9DnpgToa2F0w2fiNLJPG40aiG7T.java) (2.08 KB) [/details] --- ## Post #2 by @Tony_Franca Seems you have one jar missing in your classpath: measure-serv-0.1-SNAPSHOT.jar If you cannot find it you can build it from the sources (as soon as it stops asking for a password in read mode): [http://www.openehr.org/svn/ref_impl_java/TRUNK](http://www.openehr.org/svn/ref_impl_java/TRUNK) And then do a mvn install on the measure-serv module. Cheers Tony Lâmpada --- ## Post #3 by @pablo Hi, thanks, it seems this page is out of date and doesn't have the jar you mention :( > [http://www.openehr.org/svn/ref_impl_java/TRUNK/docs/download.htm](http://www.openehr.org/svn/ref_impl_java/TRUNK/docs/download.htm) Cheers, Pablo. --- **Canonical:** https://discourse.openehr.org/t/problems-with-java-archetype-parser/14888 **Original content:** https://discourse.openehr.org/t/problems-with-java-archetype-parser/14888