Community
Participate
Working Groups
NoClassDefFoundError when starting the Workbench on 8-27 build.
This should be addressed in 1.0.1M2/RC.
The problem was that one of the directories in my EclipseLink path had 2 periods in the directory name. Apparently this causes the fixpath routine to insert garbage into paths, including the classpath entries. This bug has likely existed for some time. This is a pretty serious bug, in that it would prevent any utility from running that meets these conditions, but it does have a workaround: Change the offending directory name. This may not be possible is some cases, so I think this should be fixed for 1.0.1 if possible.
Here is the fixpath function in question: :fixpath if not %1.==. ( for /f "tokens=1* delims=;" %%a in (%1) do ( call :shortfilename "%%a" & call :fixpath "%%b" ) ) goto :EOF :shortfilename for %%i in (%1) do set _FIXPATH=%_FIXPATH%;%%~fsi goto :EOF
We haven't been able to nail down a fix for this yet that works on everyone's test environment. As a result of that, and not wanting to end up with something that might be worse, I think we may need to defer this for now and get a change into an earlier build for a maintenance or other release. Broader testing by the community would be good with any changes in this area. I'll assign this to me for now.
We have a candidate fix for this issue (to be attached shortly), but it has not been sufficiently tested at this point, nor has it been tested by users. Given that this bug has not been reported by a user, and that there is a workaround, I am downgrading the severity to normal. Also, given the risk associated with the fix, it would be better to fix this in an early milestone for a release, and not at the end. Due to these factors I am re-targeting to 2.0.
Created attachment 122689 [details] Reworked cmd files that work for both Windows XP and Vista
Moving to 2.1 release.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink