Solved

console error message

Posted on 2013-11-29
12
266 Views
Last Modified: 2013-12-07
Hi,

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.
error.txt
0
Comment
Question by:cofactor
  • 8
  • 3
12 Comments
 
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.
0
 

Author Comment

by:cofactor
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.
0
 

Author Comment

by:cofactor
ID: 39686834
comments please
0
 
LVL 11

Expert Comment

by:Manish
ID: 39689493
Check JRE version in preference>java>compile
0
 

Author Comment

by:cofactor
ID: 39689538
>>>preference>java>compile

its   1.6
0
 

Author Comment

by:cofactor
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 ...so I want to check their version also.....but there are many JAR files
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 11

Expert Comment

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

Author Comment

by:cofactor
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.
0
 
LVL 11

Assisted Solution

by:Manish
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).
0
 

Author Comment

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

tested it....no improvement.


>>>Also check eclipse java build path

java build path > library > jre 1.6

>>installed jre
 1.6

>>windows java version(java -version)

1.6
0
 

Accepted Solution

by:
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
0
 

Author Closing Comment

by:cofactor
ID: 39702908
it was a issue with project facet
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This video teaches viewers about errors in exception handling.

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now