console error message

Posted on 2013-11-29
Last Modified: 2013-12-07

I am receiving a error message  in the console. Can you please tell what is this error and how to fix it ?

error message is attached.
Question by:cofactor
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 8
  • 3
LVL 12

Expert Comment

by:Sharon Seth
ID: 39685689
java.lang.UnsupportedClassVersionError: kl/ta/cp/action/PaymentServicesAction : Unsupported major.minor version 51.0

It means you are using different versions of the jar that has that class. Use the same version during compilation and during deployment.

Author Comment

ID: 39686504
>>>Use the same version during compilation and during deployment.

I am Eclipse Indigo 3.7  IDE......and it  has   java build path JRE 1.6

also I have added Jboss 7  server which has server runtime JRE also 1.6

tell  me some diagnostics checks to identify root case.

Author Comment

ID: 39686834
comments please
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

LVL 11

Expert Comment

ID: 39689493
Check JRE version in preference>java>compile

Author Comment

ID: 39689538

its   1.6

Author Comment

ID: 39689548
I am going to do a diagnostics check other way...

Is it possible to check  every jar ( inside LIB folder) files's compiler  java version ?   I am asking this .....because you know JAR are files are already pre-compiled and packaged....we dont compile them I want to check their version also.....but there are many JAR files
LVL 11

Expert Comment

ID: 39689577
which jar has PaymentServicesAction ?
Also is it possible for you to change 1.6 to 1.7 and run it.

Author Comment

ID: 39689590
>>>which jar has PaymentServicesAction ?

umm......This is not in a JAR....this is just a separate  java  file  here.  ...this is just compiling in Eclipse IDE  and you know I get the PaymentServicesAction class file in the build/classes folder !

>>>Also is it possible for you to change 1.6 to 1.7 and run it.

I don't  have  java 1.7 in my system at all....I have 1.6  installed in my machine.

I  don't understand where from this 1.7  is  attacking to this class ! I am clueless here.
LVL 11

Assisted Solution

Manish earned 200 total points
ID: 39689621
You should delete classes and recompile it.
Also check eclipse java build path,installed jre , windows java version(java -version).

Author Comment

ID: 39689725
>>>You should delete classes and recompile it.

tested improvement.

>>>Also check eclipse java build path

java build path > library > jre 1.6

>>installed jre

>>windows java version(java -version)


Accepted Solution

cofactor earned 0 total points
ID: 39691553
issue resolved.

issue was with  Eclipse Project Facet. In project facet  version was 1.7

  <installed facet="java" version="1.7"/>

I put 1.6 here  to fix it

Author Closing Comment

ID: 39702908
it was a issue with project facet

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question