Currently I have a Maven Project, after adding the following dependency: https://mvnrepository.com/artifact/com.amazonaws/aws-java-sdk to the pom.xml file, I seem to be seeing the following exception: CreateProcess error=206, The filename or extension is too long
When executing a class which contains public static void main:
public class Connection_Test {
public static void main(String[] args) {
System.out.println("Hello world");
}
}
I have currently moved the .m2 repo (I'm using windows 10) via the following:
- Move .m2 repository to c:\
- Create a settings.xml via inteliJ containing the following:
<settings>
<localRepository>c:/.m2/repository</localRepository>
</settings>
Even with the above settings / changes, I'm still experiencing the same issue, not sure why after adding the aws-java-sdk dependency I seem to run into the issue, any ideas?