This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 242282 - UnsupportedClassVersionError: webservice/MainLotusServiceClient : Unsupported major.minor version 52.0
Summary: UnsupportedClassVersionError: webservice/MainLotusServiceClient : Unsupported...
Status: RESOLVED INVALID
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Jan Stola
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-24 14:23 UTC by KhArtNJava
Modified: 2015-03-30 11:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 202054


Attachments
stacktrace (4.72 KB, text/plain)
2014-02-24 14:23 UTC, KhArtNJava
Details

Note You need to log in before you can comment on or make changes to this bug.
Description KhArtNJava 2014-02-24 14:23:25 UTC
This issue was reported manually by KhArtNJava.
It already has 2 duplicates 


Build: NetBeans IDE Dev (Build 201402210001)
VM: Java HotSpot(TM) Client VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Windows Server 2008

User Comments:
KhArtNJava: q

KhArtNJava: test webservice operation

flotho: Trying to test WS Jax-RPC style




Stacktrace: 
java.lang.UnsupportedClassVersionError: webservice/MainLotusServiceClient : Unsupported major.minor version 52.0
   at java.lang.ClassLoader.defineClass1(ClassLoader.java:0)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
   at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
   at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
Comment 1 KhArtNJava 2014-02-24 14:23:26 UTC
Created attachment 145541 [details]
stacktrace
Comment 2 Jan Stola 2015-03-30 11:46:00 UTC
This exception shows that your Web Service was compiled using JDK 8 (with no backward compatibility options) but you try to run in on JDK 7. You should run it on JDK 8 or compile it on JDK7 or compile it on JDK 8 with -target 1.7 option.