[jcifs] RE: Major minor version error in JCIFS1.2.8
ctasprowls at fastmail.fm
Thu Mar 30 19:49:39 GMT 2006
I wish I could say that I fully understand this issue and give you an
explicit resolution; but, that is unfortunately not the case.
As far as settings, see if you can find where to specify the compiler
compliance level in web sphere. Probably somewhere in the preferences
for the java compiler.
Mine are set to 1.4 when using jre1.5.0_06, and I was able to get it to
work using jre1.4.2_09 set to 1.3 as the compliance level.
I don't suppose you have maintained an ant or maven build script in
addition to building within web sphere have you? If so, try reducing
the possible issues by building that way.
I am sure re-compiling jcifs using 1.4 will work; however, I don't
believe it is necessary to resolve the problem.
Try using the Logon.java in the example directory with jcifs 1.2.8 and
compile that using your current compiler. See if it works with 1.2.8,
if not then you at least have a much simpler test case to troubleshoot.
If it does, then your application should also.
It is my understanding that you can always use a newer compiler and
instruct it to produce byte code that is compatible with older jvms.
Sorry I am not able to provide an exact solution.
On Thu, 30 Mar 2006 08:38:35 -0600, gruizf at credomatic.com said:
> Thanks David but deleting all my class files didn't work. I believe I
> should change some compiler settings but... what compiler settings should
> change, and where in Websphere?
> If I put jcifs1.2.8.jar in the lib directory, the below error occurs. If
> switch back and put jcifs1.2.7.jar in the lib directory, then the error
> goes away.
> "David Sprowls"
> <ctasprowls at fastm
> Sent by: jcifs at lists.samba.org
> m at lists.samba.org
> [jcifs] RE: Major minor version
> error in JCIFS1.2.8
> 29/03/2006 06:16
> 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
> 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)
> 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:
> 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?
> David Sprowls
> ctasprowls at fastmail.fm
ctasprowls at fastmail.fm
More information about the jcifs