Neil Bartlett wrote > Yes. > > You have to import all packages that you use, except for “java.*”. > > >> On 18 Sep 2015, at 04:06, Lost <
> shu_qingzhang@ > > wrote: >> >> HiI try to use saxReader with myproject,it >> happen:java.lang.NoClassDefFoundError: >> javax/xml/parsers/DocumentBuilderFactoryi think this class is in jre >> Runtime, should i import it ? >> >> >> >> -- >> View this message in context: >> http://apache-felix.18485.x6.nabble.com/java-lang-NoClassDefFoundError-tp5014750.html >> Sent from the Apache Felix - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [email protected] > For additional commands, e-mail: > [email protected] thanks ,when i import the package it works -- View this message in context: http://apache-felix.18485.x6.nabble.com/java-lang-NoClassDefFoundError-tp5014750p5014776.html Sent from the Apache Felix - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

