-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Problem with xerces
PostPosted: Mon Dec 20, 2004 1:18 pm 
Newbie

Joined: Fri Dec 17, 2004 8:37 pm
Posts: 2
Location: Oakland, Ca, USA
Hi all,

I'm getting a runtime error when trying to initialize a hibernate session. The code compiles fine, and the WAR deploys without problem. I've tried using Xerces that came with my hibernate distribution and the latest from the xerces project itself without any luck.

Anyone else seen this? Have ideas for me?

thanks,

aaron

Hibernate version:

2.1.7

Full stack trace of any exception that occurs:
Code:
Dec 20 08:38:36 2004: hibernate: Unable to start servlet action: java.lang.NoClassDefFoundError: org/apache/xerces/impl/dtd/AbstractDTDGrammar
java.lang.NoClassDefFoundError: org/apache/xerces/impl/dtd/AbstractDTDGrammar
        at org.apache.xerces.parsers.StandardParserConfiguration.createDTDValidator(StandardParserConfiguration.java:856)
        at org.apache.xerces.parsers.StandardParserConfiguration.<init>(StandardParserConfiguration.java:393)
        at org.apache.xerces.parsers.StandardParserConfiguration.<init>(StandardParserConfiguration.java:278)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeMethod)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
        at java.lang.Class.newInstance0(Class.java:308)
        at java.lang.Class.newInstance(Class.java:261)
        at org.apache.xerces.util.ObjectFactory.newInstance(ObjectFactory.java:296)
        at org.apache.xerces.util.ObjectFactory.createObject(ObjectFactory.java:224)
        at org.apache.xerces.util.ObjectFactory.createObject(ObjectFactory.java:119)
        at org.apache.xerces.parsers.SAXParser.<init>(SAXParser.java:95)
        at org.apache.xerces.jaxp.SAXParserImpl.<init>(SAXParserImpl.java:102)
        at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.java:95)
        at org.apache.commons.digester.Digester.getParser(Digester.java:686)
        at org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)
        at org.apache.commons.digester.Digester.parse(Digester.java:1567)
        at org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1112)
        at org.apache.struts.action.ActionServlet.init(ActionServlet.java:324)
        at javax.servlet.GenericServlet.init(GenericServlet.java:258)
...

Name and version of the database you are using:

Sybase ASE 12.5

_________________
remick


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.