cofactor
asked on
console error message
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
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
ASKER
>>>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.
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.
ASKER
comments please
Check JRE version in preference>java>compile
ASKER
>>>preference>java>compile
its 1.6
its 1.6
ASKER
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
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
which jar has PaymentServicesAction ?
Also is it possible for you to change 1.6 to 1.7 and run it.
Also is it possible for you to change 1.6 to 1.7 and run it.
ASKER
>>>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.
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.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
>>>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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
it was a issue with project facet
It means you are using different versions of the jar that has that class. Use the same version during compilation and during deployment.