ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chaohua wang <chwang...@gmail.com>
Subject Re: class file has wrong version 50.0, should be 49.0
Date Wed, 23 Jun 2010 05:45:05 GMT
no, i didn't change. i only saw they changed tomcat jar file to 5.5.28
But it can compile in Eclipse.
Do i need to change jre env?
50.0=1.6 49.0=1.5
There is no 1.6 jdk in my computer.



On Tue, Jun 22, 2010 at 5:54 PM, BJ Freeman <bjfree@free-man.net> wrote:

> what have you changed recently?
>
> =========================
> BJ Freeman
> http://bjfreeman.elance.com
> Strategic Power Office with Supplier Automation  <
> http://www.businessesnetwork.com/automation/viewforum.php?f=52>
> Specialtymarket.com  <http://www.specialtymarket.com/>
>
> Systems Integrator-- Glad to Assist
>
> Chat  Y! messenger: bjfr33man
> Linkedin <
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
> >
>
>
> chaohua wang sent the following on 6/22/2010 4:44 PM:
>
>  Hi Folks,
>>
>> I am workign on an ofbiz project. the ofbiz version has been used for
>> almost
>> 1 year.
>> we use j2sdk1.5.0_01 to compile and run.
>>
>> but hen i use ant to compile.
>> I got this exception:
>>
>>  [javac]
>>
>> C:\sgcsworkspace\SGCS\framework\catalina\src\org\ofbiz\catalina\container\SslAcceleratorValve.java:26:
>> cannot access javax.servlet.ServletException
>>     [javac] bad class file:
>>
>> C:\sgcsworkspace\SGCS\framework\catalina\lib\servlet-api.jar(javax/servlet/ServletException.class)
>>     [javac] class file has wrong version 50.0, should be 49.0
>>     [javac] Please remove or make sure it appears in the correct
>> subdirectory of the classpath.
>>     [javac] import javax.servlet.ServletException;
>>
>>
>> my environment is  1.5.0_01. JVAHOME=C:\JavaAPI\j2sdk1.5.0_01
>>
>> javac and java version are 1.5.0_01.
>> I can compile it at another machine which has the same setup.
>> servlet-api.jar is from the same repository.
>>
>> I don't know reason why my computer has this issue.
>>
>> Please help
>>
>> Chwang
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message