Hi, These debug log traces aren't important, they only state that the HAPI parser didn't find any user defined classes for Segments/Messages. To define your own classes, simply create a custom_packages directory on your classpath. In this directory place one file per version you wish to define your custom classes (ex: 2.3.1, 2.4) each file will contain one line : the name of the package containing your custom classes. These will be loaded and used by HAPI automatically
Hope this helps Fred Le 24 nov. 08 à 23:59, Dayu Han a écrit : > Hello > > I developed a simple application using HAPI, however, when the > application starts, we have the following errors: > > DEBUG ca.uhn.hl7v2.parser.DefaultModelClassFactory - No user-defined > packages for version 2.1 > DEBUG ca.uhn.hl7v2.parser.DefaultModelClassFactory - No user-defined > packages for version 2.2 > DEBUG ca.uhn.hl7v2.parser.DefaultModelClassFactory - No user-defined > packages for version 2.3 > DEBUG ca.uhn.hl7v2.parser.DefaultModelClassFactory - No user-defined > packages for version 2.3.1 > DEBUG ca.uhn.hl7v2.parser.DefaultModelClassFactory - No user-defined > packages for version 2.4 > DEBUG ca.uhn.hl7v2.parser.DefaultModelClassFactory - No user-defined > packages for version 2.5 > > Any input would be appreciated. > > HL7 Champion. > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Hl7api-devel mailing list > Hl7api-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/hl7api-devel ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Hl7api-devel mailing list Hl7api-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hl7api-devel