Originally Posted by
Sean4u
Does it tell you whereabouts in the line the equals sign is expected? It's always best to copy and paste the full error text output if you want someone else to help you. I can see in the first line you've posted a problem with opening and closing speech marks ("). That's usually enough to stop XML working.
Now, I tried to run the same declaration on another computer and it works.
But, I am getting the following errors:-
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.j ava:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 07)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 52)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:320)
Could not find the main class: org.netbeans.modules.web.project.ant.JspCSingle. Program will exit.
I don't understand what's going on. Can somebody please help?