The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Windows & DOS: Issues & Discussions
.
google unix.com



Windows & DOS: Issues & Discussions All Windows and DOS questions should go here as well. Discuss UNIX to Windows (Desktop or Server) here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
S-223: IBM Tivoli Provisioning Manager for OS Deployment (TPMfOSD) Vulnerability iBot Security Advisories (RSS) 0 03-14-2008 03:20 PM
Unix Arithmatic operation issue , datatype issue thambi Shell Programming and Scripting 23 02-19-2008 07:19 AM
how i prepare a c++ code(c code) for implementing my own protocol format amitpansuria High Level Programming 1 09-06-2007 11:09 PM
SSH key code versus server key code Texan Security 1 04-12-2006 11:57 AM
Return code from PL/SQL Code Shaz UNIX for Advanced & Expert Users 7 06-03-2003 10:56 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-07-2007
harimadhavbalu harimadhavbalu is offline
Registered User
  
 

Join Date: Jun 2007
Posts: 2
Code deployment issue

I have developed an application in Eclipse and created a JAR File for the same. I deployed the JAR File in UNIX environment and while executing the same I get the following Error:

(dstdbxx1:/export/home/edi_proc/PSON_Automation)$ls
LOG PSON PSONAutomation_2.jar REPORT xerces.jar
LSR PSONAutomation_1.jar PsonAutomation.jar setup.properties xercesImpl.jar
[B](dstdbxx1:/export/home/edi_proc/PSON_Automation)$java -jar PSONAutomation_2.jar
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xerces/parsers/SAXParser
at com.eschelon.xml.XMLHandler.parse(XMLHandler.java:21)
at com.eschelon.xml.XMLHandler.parse(XMLHandler.java:42)
at com.eschelon.main.LsrPsonComparer.main(LsrPsonComparer.java:73)[/
B]

Can anyone please help me with this error?

Thanks and Regards

Harimadhav Balu
  #2 (permalink)  
Old 06-07-2007
cbkihong cbkihong is offline Forum Advisor  
Advisor
  
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,624
Quote:
Originally Posted by harimadhavbalu
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xerces/parsers/SAXParser
Actually the error has already told you what the problem is: Java couldn't find your Apache Xerces SAX parser. Are you sure the Xerces JARs are on your classpath?

http://xerces.apache.org/xerces-j/
  #3 (permalink)  
Old 06-08-2007
harimadhavbalu harimadhavbalu is offline
Registered User
  
 

Join Date: Jun 2007
Posts: 2
Yeah, Actually I found the reason for the error. The Unix environment needed more references from Apache SAX Parser. Some how it was not required when I developed in Eclipse. Thanks for your time and consideration.

Regards

Hari
Closed Thread

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:33 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0