java - Weblogic 12c deployment error -


i'm using ant script build application. application working under 9.2 bea.lib=c:/bea92/weblogic92/server/lib - ant code - working when change 12c lib folder bea.lib=c:/bea12c/wlserver_12.1/server/lib, it's giving me error:

[javac] bad class file: c:\bea12c\wlserver_12.1\server\lib\..\..\..\modules\features\..\javax.servlet_2.0.0.0_3-0.jar(javax/servlet/http/httpservletrequest.class) [javac] class file has wrong version 50.0, should 49.0 [javac] please remove or make sure appears in correct subdirectory of classpath. [javac] import javax.servlet.http.httpservletrequest; [javac]     

it seems using library has been compiled java 6 have javac lower 1.6. suggest upgrade compiler 1.6.


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -