• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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....
 
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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...
 
We don't have time for this. We've gotta save the moon! Or check this out:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!