Forum Stats

  • 3,817,474 Users
  • 2,259,339 Discussions
  • 7,893,791 Comments

Discussions

java.lang.NoClassDefFoundError: org/netbeans/modules/web/project/ant/JspCSi

User_DTTUY
User_DTTUY Member Posts: 5 Blue Ribbon
Dear forum member,

I've been getting this error and I just can't figure how to correct the error.

Hope someone is kind enough to advise me how to correct this error below:

java.lang.NoClassDefFoundError: org/netbeans/modules/web/project/ant/JspCSingle
Caused by: java.lang.ClassNotFoundException: org.netbeans.modules.web.project.ant.JspCSingle
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: org.netbeans.modules.web.project.ant.JspCSingle. Program will exit.
Exception in thread "main" C:\Documents and Settings\Kareni\Desktop\working\broadWeb\nbproject\build-impl.xml:612: Java returned: 1
BUILD FAILED (total time: 1 second)

Thanks.
Tagged:

Answers

  • nantucket
    nantucket Member Posts: 64
    I don't use NetBeans so I won't be able to assist you except to tell you what you probably already know and that is that the class JspCSingle could not be found on the classpath when the application attempted to load it. So you would want to check your classpath settings for the class and/or jar file.
This discussion has been closed.