Archive for ◊ April, 2010 ◊

I discovered that any directory I created on a vfat file system in Linux whose name consisted solely of uppercase letters, and was 8 characters or less in length, was being converted to a lowercase name.
This was causing problems of J2EE war files being created containing both directories “WEB-INF” and “web-inf”.

The fix was to add the shortname=winnt option to the file system mapping in /etc/fstab, and then reboot.

So the line in /etc/fstab would be, for example:

UUID=483E-D7D6 /data vfat shortname=winnt,utf8,umask=000,gid=100,uid=1000 0 1



After turning my application running under SpringSource Tool Suite into a web app, then trying to run pre-existing junit tests, I started getting the error:

Plug-in org.maven.ide.eclipse.jdt was unable to load class org.maven.ide.eclipse.jdt.internal.launch.MavenRuntimeClasspathProvider.

An error occurred while automatically activating bundle org.maven.ide.eclipse.jdt (810).

The fix was to delete all the existing Run configurations (Run As / Run Configurations… / select m2 custom Run Configurations and delete them).
Restart STS (may not be necessary), and it now works!