#310 XDoclet - incompatibilty with jdk1.4 & l

closed-invalid
nobody
xdoclet (41)
5
2002-10-21
2002-10-04
Anonymous
No

I recently upgraded a project from using jdk 1.3 to
jdk1.4. I then has errors with the log4j jar as the word
assert had been used which is now a keyword in 1.4. I
downloaded the latest log4j where the Category Class is
deprecated and the CategoryFactory class no longer
exists. I then got compile errors with the xdoclet.jar I
was using. I then downloaded xdoclet 1.2.0 beta which
would not unzip. I then downloaded version 1.1.2 which
is now unzipped and working. However now when I
compile I get the following error:

BUILD FAILED
file:C:/Eclipse/workspace/agent/build.xml:80:
java.lang.NoClassDefFoundError:
org/apache/log4j/Category

Total time: 3 seconds

Line "80" in build.xml is highlighted below:
<!-- EJB Doclet -->
<target name="ejbdoclet" depends="prepare">
<taskdef name="ejbdoclet"
classname="xdoclet.ejb.EjbDocletTask"
classpath="lib/xdoclet.jar"/>

<ejbdoclet sourcepath="${java.src}"
destdir="${java.src}"
classpathref="classpath"
packagenames="com.ag.armata.agent.entity,
com.ag.armata.agent.sf.impl"
excludedtags="@version,@author"> <=-- LINE 80!

Are the lastest xdoclet jars still using this deprecated
class? And Category does still exist in the jar which is
in my classpath so why can it not be found? The error
seems to be coming in through the xdoclet jar.

Discussion

  • Aslak Hellesřy

    Aslak Hellesřy - 2002-10-04
    • status: open --> open-invalid
     
  • Konstantin Pribluda

    • status: open-invalid --> closed-invalid
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks