Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Java
  4. tools.jar

tools.jar

Scheduled Pinned Locked Moved Java
toolshelpjavaoraclecom
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Stephen Lintott
    wrote on last edited by
    #1

    Hi all. I am creating an ant script for a JEE project and when compiling the webservices of that project I get the following error java.lang.IncompatibleClassChangeError: Class com.sun.tools.javadoc.ClassDocImpl does not implement the requested interface com.sun.javadoc.Type I decompiled the code of tools.jar and found that the interface is implemented but can't find out how to get rid of this error. Has anyone seen it before. I am working on oracle workshop with java 6 and I'm out of ideas about this. If anybody can help I would hold it in heig regard. Cheers Stephen

    Stephen Lintott Bsc IT (RAU)

    N 1 Reply Last reply
    0
    • S Stephen Lintott

      Hi all. I am creating an ant script for a JEE project and when compiling the webservices of that project I get the following error java.lang.IncompatibleClassChangeError: Class com.sun.tools.javadoc.ClassDocImpl does not implement the requested interface com.sun.javadoc.Type I decompiled the code of tools.jar and found that the interface is implemented but can't find out how to get rid of this error. Has anyone seen it before. I am working on oracle workshop with java 6 and I'm out of ideas about this. If anybody can help I would hold it in heig regard. Cheers Stephen

      Stephen Lintott Bsc IT (RAU)

      N Offline
      N Offline
      Nagy Vilmos
      wrote on last edited by
      #2

      I found this advice: Every time I have seen this kind of error it was because I changed a class that other classes depended on, but did not recompile the dependent classes. Be sure that you completely delete all the old *.class files of your application, and recompile them against the new struts.jar file. So I'd make sure you do a clean build and make sure you are linking to the correct jars. Is it possible you have two jdk's installed and you are getting the jars from different versions?


      Panic, Chaos, Destruction. My work here is done.

      S 1 Reply Last reply
      0
      • N Nagy Vilmos

        I found this advice: Every time I have seen this kind of error it was because I changed a class that other classes depended on, but did not recompile the dependent classes. Be sure that you completely delete all the old *.class files of your application, and recompile them against the new struts.jar file. So I'd make sure you do a clean build and make sure you are linking to the correct jars. Is it possible you have two jdk's installed and you are getting the jars from different versions?


        Panic, Chaos, Destruction. My work here is done.

        S Offline
        S Offline
        Stephen Lintott
        wrote on last edited by
        #3

        Thanks Nagy... The only thing is I'm not working with struts. These are webservices that allow the user to access control objects written by our company. All and all we have 11 projects ie 11 build.xml files for ears. 5 of them complile and 6 of them fail with the above error when they are run via a bash script that I wrote. I thought of it after the first post but does anyone know if weblogic replaces the tools.jar file when compiling. Maby named it something else. I'm not even sure if you are allowed to do that. Anyway. if anybody can help I would hold it in very high regard... Cheers Stephen

        Stephen Lintott Bsc IT (RAU)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups