Discussions

Web tier: servlets, JSP, Web frameworks: Error in JSP

  1. Error in JSP (2 messages)

    Hi !
    When Iam trying to run a java file which picks the content from xml file, Iam getting the following error.

    $ java com.epicentric.pso.vodafone.NewsPublisher "/export/home/mitchell"

    Exception in thread "main" java.lang.NoClassDefFoundError: org/xml/sax/helpers/DefaultHandler
            at java.lang.ClassLoader.defineClass0(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
            at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
            at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
            at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
            at com.epicentric.pso.vodafone.NewsPublisher.main(NewsPublisher.java:26)

    What could be the problem. Early reply is appreciated.

    Thanks
    AJP

    Threaded Messages (2)

  2. Error in JSP[ Go to top ]

    Classpath...
  3. Error in JSP[ Go to top ]

    java -cp . com.epicentric.pso.vodafone.NewsPublisher "/export/home/mitchell"