0

I am trying to use lein-ring plugin. After having installed the plugin any attempt to issue a a lein ring command yields a

java.lang.ClassNotFoundException: javax.xml.stream.XMLInputFactory

I am using leiningen 1.7.1 and java version 1.5.

kostas
  • 1,959
  • 1
  • 24
  • 43

1 Answers1

1

The XML streaming API wasn't included in the standard JRE until Java 6. You've got a few options:

  • Upgrade to Java 6+
  • Download the JSR173 API here
  • Add [javax.xml/jsr173 "1.0"] to your Leiningen dependencies
dfreeman
  • 2,834
  • 2
  • 20
  • 24