File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Version issue while deploying
Joined: Nov 15, 2005
Jan 11, 2006 14:59:00
I have a new install of Sun App server. When I try to deploy a web module I am getting the following error. I have JDK version 1.5 and JRE version 1.5. I checked under HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft and in Control pannel, Add remove programms.
Unable to load
specified in the module.
Please consult online help for assistance.
: TestServlet (Unsupported major.minor version 49.0)
Any help appreciated.
Joined: Nov 24, 2005
Jan 11, 2006 17:45:00
Check that your PATH contains the right version of your JRE.
It may be pointing to an older version (it often happens when Oracle is installed)
All roads lead to JavaRanch
Joined: Jan 02, 2006
Jan 11, 2006 19:00:00
I got this error when I was using
5.0.28 and deployed classes compiled with JDK1.5 , Then recompiled with 1.4.X and this error did not show up.
I guess same thing may be happening in your case, compile your classes with jdk1.4 it may solve your problem.
Joined: Mar 17, 2001
Jan 11, 2006 21:06:00
Use Tomcat 5.5.x. This version is for JRE 5
Joined: Aug 03, 2005
Jan 12, 2006 03:13:00
I too got this problem when I tried to use the classes compiled with jre1.5 in jre1.4.
I tried both compilation and running using jdk1.4
A Moment's insight is sometimes worth a Life's experience.
Joined: Nov 15, 2005
Jan 12, 2006 07:44:00
I tried compiling using C:\Sun\Creator\java\bin\javac.exe and it worked. So I reinstalled sun app server again and it works now.
Thanks for everybody who stepped in.
I agree. Here's the link:
subject: Version issue while deploying
Ear Building in Maven
The annotation PersistenceContext will not be recognized by WebSphere Application Server v7.0
SCWCD 1.4 or 1.5??
Axis2 - Unable to engage rampart
How to change Java Classpath Context
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014