"Class is not abstract and does not override abstract method isSupported(ja

As per my search on the Internet, I found that this is an error that occurs due to JDK version

I was using Jdk 1.4.2_08 when I initially got this error. After reading this article: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4771612 , I changed the JDK to 1.4.0_b92. However the errors still exist.

I'm compiling an exploded war file using the ant command on the DOS prompt. I'm using Weblogic Server 8.1 SP4 as the server. The exact error text is as below:

D:\build>ant

Buildfile: build.xml

clean:

[echo] #### DELETING THE WEBAPP WITH STRUTS ####

[delete] Deleting directory D:\build\classes

banner:

[echo] #### START BUILDING WEBAPP WITH STRUTS ####

[mkdir] Created dir: D:\build\classes

build:

[echo] #### COMPILATION OF ENTIRE JAVA FILES ####

[javac] Compiling 176 source files to D:\build\classes

[javac] D:\BEA\user_projects\applications\MVDIDev\MVDIDevWeb\WEB-INF\source\com\sun\xml\tree\ElementNode.java:16: com.sun.xml.

tree.ElementNode is not abstract and does not override abstract method isSupported(java.lang.String,java.lang.String) in org.w3c.d

om.Node

[javac] public class ElementNode extends ParentNode

[javac] ^

[javac] D:\BEA\user_projects\applications\Dev\DevWeb\WEB-INF\source\com\sun\xml\tree\XmlDocument.java:24: com.sun.xml.

tree.XmlDocument is not abstract and does not override abstract method isSupported(java.lang.String,java.lang.String) in org.w3c.d

om.Node

[javac] public class XmlDocument extends ParentNode

[javac] ^

[javac] Note: Some input files use or override a deprecated API.

[javac] Note: Recompile with -deprecation for details.

[javac] 2 errors

BUILD FAILED

file:D:/build/build.xml:31: Compile failed; see the compiler error output for details.

Total time: 14 seconds

I've even changed the JDK version to 1.3.1_18. However error still exist.

Also, the isSupported method is overridden in both classes.

Please lemme know whether this is a bug and can be resolved?

[2153 byte] By [Darshana] at [2007-10-3 2:28:40]
# 1
Why do you even try to compile code from com.sun.xml? You should never have to compile that yourself.
JoachimSauera at 2007-7-14 19:27:45 > top of Java-index,Java Essentials,Java Programming...
# 2
Have you tried 1.5.0?Also, the bug report seemed to be for 1.4.0 not 1.4.2, so it might be something other and error due to the JDK.
zadoka at 2007-7-14 19:27:45 > top of Java-index,Java Essentials,Java Programming...
# 3
All those files are part of the exploded war file and I've only tried to build that exploded war. Does that mean, I need to excluded these files from the build?
Darshana at 2007-7-14 19:27:45 > top of Java-index,Java Essentials,Java Programming...
# 4
Yes, I 've tried with 1.5.0Also, the bug report mentions about the occurrence of these errors in 1.4.2.(Under the "Evaluation" section of the bug report)Further, I got these errors on all JDK versions... 1.3.1_18, 1.4.0_00 b92, 1.4.2_08, 1.5.0
Darshana at 2007-7-14 19:27:45 > top of Java-index,Java Essentials,Java Programming...
# 5

> All those files are part of the exploded war file and

> I've only tried to build that exploded war. Does that

> mean, I need to excluded these files from the build?

I didn't notice what you were compiling before. Why are these java files in the source folder of the war. Why are you trying to compile them?

zadoka at 2007-7-14 19:27:45 > top of Java-index,Java Essentials,Java Programming...
# 6

All the java and jsp files are part of the war file before I received the war file. I'm using Weblogic 8.1 as the application server. I'm using the ant tool/command to build the code that is part of the war file.

Please let me know if any more information about these errors is required so that I can provide you the same.

Darshana at 2007-7-14 19:27:45 > top of Java-index,Java Essentials,Java Programming...