Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesJava Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 24th, 2003, 09:46 AM
code monkey code monkey is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Austin, Texas
Posts: 6 code monkey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to code monkey
Test Class help ...

I use WSAD 4.0.3 for Java Development. I am trying to run a test case using JUnit which is a plugin to WSAD. I get the following error:

.E.E.E.E.E
Time: 0.261
There were 5 errors:
1) testUpdate(DistributorTest)
java.lang.NoClassDefFoundError: org/w3c/dom/Node

Any ideas??

Reply With Quote
  #2  
Old June 24th, 2003, 11:17 AM
Targaz's Avatar
Targaz Targaz is offline
I played Richard the Third
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Den Haag, Netherlands
Posts: 122 Targaz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
What runtime version do you have?

Code:
org/w3c/dom/Node 


points to an XML-error of some sort, i think.

Do you have Xerces and Xalan added to your project?
__________________
Now is the winter of our discontent made glorious summer by this son of York.

Reply With Quote
  #3  
Old June 24th, 2003, 12:13 PM
code monkey code monkey is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Austin, Texas
Posts: 6 code monkey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to code monkey
I don't have either of those in my project, where would I find out what runtime version I am using?

Reply With Quote
  #4  
Old June 24th, 2003, 03:42 PM
code monkey code monkey is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Austin, Texas
Posts: 6 code monkey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to code monkey
Targaz ~ thanks!! I added Xerces to my project and it worked.

Reply With Quote
  #5  
Old June 25th, 2003, 02:56 AM
Targaz's Avatar
Targaz Targaz is offline
I played Richard the Third
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Den Haag, Netherlands
Posts: 122 Targaz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Xalan and Xerces are from www.apache.org.
I believe Sun has a usefull xml-package aswell.
Also check out XML4J.jar from IBM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > Test Class help ...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT