Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
sachin kataria
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....
 
Paul Sturrock
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...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!