Skip to main content



      Home
Home » Language IDEs » AspectJ » AJDT and workspace JRE
AJDT and workspace JRE [message #591300] Fri, 16 December 2005 13:21
Eclipse UserFriend
Hi,

I have a problem with the combination of Eclipse 3.1, JRE 1.5.0 and AJDT
20051111104438.

The problem is at the runtime of the deployment generated by an ANT script
running inside Eclipse with the JRE of the workspace (not when I edit or
compile aspects).

In one of the classes, I have a statement like
BigDecimal var = new BigDecimal(123);

I get an exception for this statement at runtime,
java.lang.NoSuchMethodError: java.math.BigDecimal.(I)V

In the ANT script, I have set the source and target compability to 1.4.

I have this problem only if I start Eclipse with JRE 1.5.0.

If I start Eclipse with JRE 1.4.2, the generated deployment works just
fine. I do not have the problem with the BigDecimal.

I use AspectJ150_M2 in the ANT script. Is this AspectJ build too old for
JRE 1.5.0 ?


Harry
Previous Topic:(again) Eclipse doesn't recognize introduced method
Next Topic:Erroneous error marking in editor for introduced methods
Goto Forum:
  


Current Time: Sat Jul 12 16:45:16 EDT 2025

Powered by FUDForum. Page generated in 0.02971 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top