[jcifs] RE: Major minor version error in JCIFS1.2.8
Tapperson Kevin
Kevin.Tapperson at hcahealthcare.com
Thu Mar 30 15:15:57 GMT 2006
It looks like the jcifs-1.2.8.jar was built with a newer version of java
(1.5) than jcifs-1.2.7.jar (1.4). Try re-building jcifs from the source
with your java compiler.
C:\jcifs-1.2.8>javap -classpath . -verbose jcifs.http.NtlmHttpFilter
Compiled from "NtlmHttpFilter.java"
public class jcifs.http.NtlmHttpFilter extends java.lang.Object
implements javax.servlet.Filter
SourceFile: "NtlmHttpFilter.java"
minor version: 0
major version: 49
C:\jcifs-1.2.8\META-INF>type MANIFEST.MF
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.3
Created-By: 1.5.0_06-b05 (Sun Microsystems Inc.)
C:\jcifs-1.2.7>javap -classpath . -verbose jcifs.http.NtlmHttpFilter
Compiled from "NtlmHttpFilter.java"
public class jcifs.http.NtlmHttpFilter extends java.lang.Object
implements javax.servlet.Filter
SourceFile: "NtlmHttpFilter.java"
minor version: 0
major version: 46
C:\jcifs-1.2.7\META-INF>type MANIFEST.MF
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.3
Created-By: 1.4.2_08-b03 (Sun Microsystems Inc.)
-----Original Message-----
From: jcifs-bounces+kevin.tapperson=hcahealthcare.com at lists.samba.org
[mailto:jcifs-bounces+kevin.tapperson=hcahealthcare.com at lists.samba.org]
On Behalf Of gruizf at credomatic.com
Sent: Thursday, March 30, 2006 8:39 AM
To: jcifs at lists.samba.org
Subject: Re: [jcifs] RE: Major minor version error in JCIFS1.2.8
Thanks David but deleting all my class files didn't work. I believe I
should change some compiler settings but... what compiler settings
should I change, and where in Websphere?
If I put jcifs1.2.8.jar in the lib directory, the below error occurs. If
I switch back and put jcifs1.2.7.jar in the lib directory, then the
error goes away.
"David Sprowls"
<ctasprowls at fastm
ail.fm>
To
Sent by: jcifs at lists.samba.org
jcifs-bounces+gru
cc
izf=credomatic.co
m at lists.samba.org
Subject
[jcifs] RE: Major minor version
error in JCIFS1.2.8
29/03/2006 06:16
p.m.
I don't think this is a jcifs issue. I am able to use NtlmHttpFilter
with jre1.4.x.
I have run into this problem with other java code before in Eclipse. It
was always because I some problem with my compiler settings that Eclipse
was using or I had switched them and had only compiled part of my code
with the new compiler settings. Delete all of your class files and
recompile.
Hopefully that helps.
From: <gruizf <at> credomatic.com>
Subject: Major minor version error in JCIFS1.2.8
Newsgroups: gmane.network.samba.java
Date: 2006-03-29 17:16:00 GMT (6 hours and 49 minutes ago)
Hello.
I am using JCIFS1.2.7. It's important for me to eliminate the Deadlock
issue, so I switched to 1.2.8.
I am getting this error:
[Error de servlet]-[Filter [NtlmHttpFilter]: could not be loaded]:
java.lang.LinkageError: LinkageError while defining class:
jcifs.http.NtlmHttpFilter
Could not be defined due to: jcifs/http/NtlmHttpFilter (Unsupported
major.minor version 49.0)
I'm using WAS5.1.2. I already switched Java compiler from 1.3 to 1.4 but
still get the same error.
What else could I do?
Thanks!
--
David Sprowls
ctasprowls at fastmail.fm
More information about the jcifs
mailing list