Eclipse Hot Code Replace failed [message #552651] |
Fri, 13 August 2010 04:04 |
Anuradha Messages: 2 Registered: August 2010 |
Junior Member |
|
|
I am using
Eclipse Platform 3.5.2, Eclipse IDE for Java EE Developers 1.2.2.20100217-2310, Build id: 20100218-1602
for some 6 months now. I am recently trying to do the Hot code replace in debug perspective when connecting to a remote server.
I am able to do remote debug without any problems. Once i try to change code during debugging the remote server, and when i tried to compile the class, iam getting a error that hot code replace is failing.
Below is the full description of the error.
The current target virtual machine[Java HotSpot(TM) Server VM]from launch was unable to replace the running code with the code in the workspace.
It is safer to continue running the application, but you may notice discrepancies when debugging this application.
Reason:
Hot code replace failed - class version number not supported by VM
Details:
java.lang.UnsupportedClassVersionError
i am using weblogic 9.2 which connects to a remote data server, which iam trying to debug and do hot code replace.
Please help me fix this problem so i can do the hot code replace, as doing build for every small code change & deploying the jar file to the remote server, restarting the remote server, restarting weblogic and testing is very painful!
Immediate help would be very helpful as iam in the middle of a important release delivery. This should be a very familiar error, as many of you may be using the eclipse's hot code replace!
[Updated on: Fri, 13 August 2010 04:06] Report message to a moderator
|
|
|
Re: Eclipse Hot Code Replace failed [message #552657 is a reply to message #552651] |
Fri, 13 August 2010 05:12 |
Deepak Azad Messages: 543 Registered: July 2009 |
Senior Member |
|
|
On 8/13/2010 9:34 AM, Anuradha wrote:
> I am using Eclipse Platform 3.5.2, Eclipse IDE for Java EE Developers
> 1.2.2.20100217-2310, Build id: 20100218-1602
> for some 6 months now. I am recently trying to do the Hot code replace
> in debug perspective when connecting to a remote server.
>
> I am able to do remote debug without any problems. Once i try to change
> code during debugging the remote server, and when i tried to compile the
> class, iam getting a error that hot code replace is failing.
> Below is the full description of the error.
>
> The current target virtual machine[Java HotSpot(TM) Server VM]from
> launch was unable to replace the running code with the code in the
> workspace.
Hot code replace depends on the VM you are using, and not all sorts of
changes work
http://wiki.eclipse.org/FAQ_What_is_hot_code_replace%3F
>
> It is safer to continue running the application, but you may notice
> discrepancies when debugging this application.
>
> Reason:
> Hot code replace failed - class version number not supported by VM
>
> i am using weblogic 9.2 which connects to a remote data server, which
> iam trying to debug and do hot code replace.
>
> Please help me fix this problem so i can do the hot code replace, as
> doing build for every small code change & deploying the jar file to the
> remote server, restarting the remote server, restarting weblogic and
> testing is very painful! :(
> Immediate help would be very helpful as iam in the middle of a important
> release delivery. This should be a very familiar error, as many of you
> may be using the eclipse's hot code replace!
>
>
>
> Details:
> java.lang.UnsupportedClassVersionError
From
http://geekexplains.blogspot.com/2009/01/javalangunsupported classversionerror.html
"This happens in the cases when a higher version of Java Compiler is
used to generate the class file than the JVM version which is used to
execute that class file."
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03618 seconds