Eclipse known issues and troubleshooting
Maven raises error 206: the filename or extension is too long
When you build an application on Windows, you can get the error CreateProcess error 206: The filename or extension is too long. This is caused by a Windows OS limitation. To solve it:
- Move the .m2 repository to C:\
- Go to Eclipse > Windows/Preferences/Maven/User Settings -> Create your own settings.xml with the following content:
<settings>
<localRepository>c:/.m2/repository</localRepository>
</settings>