Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Issue: CreateProcess error=206, The filename or extension is too long
- Root cause: Classpath too long when specified in -cp. Putting classpath into META-INF/MANIFEST.MF solves the issue by adding below snippet into pom.xml.
- ```xml
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>2.6</version>
- <configuration>
- <failOnMissingWebXml>false</failOnMissingWebXml>
- <archive>
- <manifest>
- <addClasspath>true</addClasspath>
- </manifest>
- </archive>
- </configuration>
- </plugin>
- ```
Add Comment
Please, Sign In to add comment