Bug#263412: libcommons-logging-java: class file has wrong version 48.0, should be 47.0 with jdk1.3.1

Markus Blatt Markus Blatt <mblatt@hal.iwr.uni-heidelberg.de>, 263412@bugs.debian.org
Wed Aug 4 03:24:01 2004


Package: libcommons-logging-java
Version: 1.0.4-1
Severity: important

Hi,

I cannot compile any classes that use the new version of
libcommons-logging-java as the jar archive does not seem to be
compatible with jdk1.3.1:

[javac] Compiling 30 source files to
	/home/svm/triathlon/software/zeitnahme/build
[javac] /home/svm/triathlon/software/zeitnahme/src/de/eichstaetter_triathlon/zeitnahme/DatenbankZeitschreiber.java:16:
    cannot access org.apache.commons.logging.Log
[javac] bad class file:
	/usr/share/java/commons-logging-1.0.4.jar(org/apache/commons/logging/Log.class)
[javac] class file has wrong version 48.0, should be 47.0
[javac] Please remove or make sure it appears in the
	correct subdirectory of the classpath.
[javac]     static Log log =
	LogFactory.getLog(DatenbankZeitschreiber.class);
[javac]            ^
[javac] 1 error


I tried the upstream binary version from jakarta.apache.org and the
problem was not there. Maybe you build the jar with jdk1.4 and with
activating the compatibility to previous versions?

Cheers,

Markus Blatt

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.26thinkpad
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro

Versions of packages libcommons-logging-java depends on:
ii  j2re1.3 [java2-runtime]      1.3.1.02b-2 Blackdown Java(TM) 2 Runtime Envir

-- no debconf information