Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

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

807569Aug 10 2006 — edited Aug 29 2006
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?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 26 2006
Added on Aug 10 2006
6 comments
1,286 views