Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Beginning Java and the fly likes error during encryption of xml file.....pls help Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "error during encryption of xml file.....pls help" Watch "error during encryption of xml file.....pls help" New topic
Author

error during encryption of xml file.....pls help

sachin kataria
Ranch Hand

Joined: Mar 27, 2006
Posts: 43
in my application, i have to encrypt xml file.. i am getting the error...

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.apache.xml.security.Init.<clinit>(Unknown Source)
at EncryptTool.<clinit>(EncryptTool.java:29)

so, in code error occurs at this line no :

static
{
org.apache.xml.security.Init.init(); // erro here...
}


i donwload package from apache site, and i installed in my j2sdk folder..
java version is j2sdk1.4.2_07


so, what is that ? pls help me....
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336


java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

Looks like you are missing commons-logging.jar from your classpath.

Classpath issues are not advanced problems. Off you go to the beginner forum...


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error during encryption of xml file.....pls help
 
Similar Threads
Running tiles on weblogic 7 urgent
Response xml in Apache CXF using JAX-RS
Problem when running with Axis
Rss Feed in jsp
DD (web.xml) configuration problem