On 1 Sie, 23:18, Philipp Eichhorn <
peich...@web.de> wrote:
> The only way you can get this kind of error (or at least the only way
> i could reproduce it) is if you forget to extend the boot-classpath of
> eclipse.
> So check if your eclipse.ini contains the following lines:
>
> -javaagent:lombok.jar
> -Xbootclasspath/a:lombok.jar
I'm pretty sure the abovementioned params were in place.
Nevertheless, I double-checked, and indeed they were there - please
find my sts.ini below
<snip>
-vm
C:/Program Files/Java/jdk1.7.0/bin/javaw.exe
-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/
org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502
-product
com.springsource.sts.ide
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
384M
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xmn128m
-Xms256m
-Xmx768m
-Xss1m
-XX:PermSize=128m
-XX:MaxPermSize=384m
-javaagent:lombok.jar
-Xbootclasspath/a:lombok.jar
</snip>
I thought that due to the fact that the -Xbootclasspath argument is
specified as a relative path, jvm somehow can't find it as some weird
and unexpected working directory for the launched jvm is used. So I
launched stsc.exe from the command line, and it *magically* started.
Tried the same with sts.exe - tough luck, failed. WTF? In both cases
the CWD for sts ans stsc processes were the same - the one the
lombok.jar is placed. I downloaded the RC3 and the problem is gone.
Thanks!
regz
/dd