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
And then do a mvn install on the measure-serv module. Cheers Tony L?mpada On Mon, Apr 27, 2009 at 11:59 PM, Pablo Pazos Gutierrez < pazospablo at hotmail.com> wrote: > Hi everyone, > > I've downloaded the java parser jar from openehr site ( > 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.<init>( > *ADLParser.java:49*) > > at se.acode.openehr.parser.ADLParser.<init>( > *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. > > ------ > Atte. > A/C Pablo Pazos Gutierrez > www.SimpleWebPortal.net > http://YuppFramework.blogspot.com > http://groups.google.com/group/yuppframeworkphp > > _______________________________________________ > openEHR-technical mailing list > openEHR-technical at openehr.org > http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20090429/477c6261/attachment.html>

